From 96236ad238dfce3ec8bdc330b44d0b319c8447ef Mon Sep 17 00:00:00 2001 From: Jakob Stendahl Date: Tue, 24 Oct 2017 21:05:09 +0200 Subject: Added write and commit method --- memoryAccess.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'memoryAccess.h') diff --git a/memoryAccess.h b/memoryAccess.h index 048ae86..8f593fd 100644 --- a/memoryAccess.h +++ b/memoryAccess.h @@ -9,9 +9,10 @@ class memoryAccess { public: void init(); + void write(int location, byte val); + void commit(); bool writeAscii(String varName, String data); String readAscii(String varName); - void commit(); void dump(); private: struct memoryAdress getAdress(String varName); -- cgit v1.2.3