aboutsummaryrefslogtreecommitdiff
path: root/memoryAccess.h
diff options
context:
space:
mode:
authorJakob Stendahl <jakob.stendahl@outlook.com>2017-10-24 21:05:09 +0200
committerJakob Stendahl <jakob.stendahl@outlook.com>2017-10-24 21:05:09 +0200
commit96236ad238dfce3ec8bdc330b44d0b319c8447ef (patch)
treec4b8fa3726cf946f627c5b4abd4c34f63d36d862 /memoryAccess.h
parenta72e2f01a85370635ef8b1cb6d9cde5c91ee5815 (diff)
downloadLuxcena-cs-96236ad238dfce3ec8bdc330b44d0b319c8447ef.tar.gz
Luxcena-cs-96236ad238dfce3ec8bdc330b44d0b319c8447ef.zip
Added write and commit method
Diffstat (limited to 'memoryAccess.h')
-rw-r--r--memoryAccess.h3
1 files changed, 2 insertions, 1 deletions
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);