Rihards Balass / 4DGL-mbed-32PTU
Revision:
18:829f3e2c064c
Parent:
16:cb072eea16e9
Child:
19:a259bc128867
diff -r 5bf7947c3c19 -r 829f3e2c064c Picaso_4DGL-32PTU.h
--- a/Picaso_4DGL-32PTU.h	Thu Sep 15 12:28:47 2016 +0000
+++ b/Picaso_4DGL-32PTU.h	Thu Sep 15 12:40:48 2016 +0000
@@ -100,6 +100,7 @@
 #define MEDIA_READ_SECTOR   0x0016
 #define MEDIA_WRITE_SECTOR  0x0017
 #define MEDIA_READ_BYTE     0xFF8F
+#define MEDIA_READ_WORD     0xFF8E
 
 
 // Screen answers
@@ -235,13 +236,6 @@
     
 // General Commands
     void rxCallback();
-    bool getResponse(int); // wait for LCD response
-    bool calculateOrbitResponse(); // wait for LCD response
-    short getGraphicsResponse(); // wait for LCD response
-    short mediaInitResponse(); // response from mediaInit command
-    bool readSectorResponse(int); // response from read sector command
-    bool writeSectorResponse(int); // response from write sector command
-    bool readByteResponse(int); // response from read sector command
     void reset(); // reset screen
     void baudrate(long); // set baudrate
     void mainDemo(); // play demo with main functions
@@ -317,6 +311,14 @@
     void textUnderline(short); // set text to underline
     void textAttributes(short); // set 4 attributes (bold, italic, inverse, underline)
 
+// Response commands
+    bool getResponse(int); // wait for LCD response
+    bool calculateOrbitResponse(); // wait for LCD response
+    short getGraphicsResponse(); // wait for LCD response
+    short mediaInitResponse(); // response from mediaInit command
+    bool readSectorResponse(int); // response from read sector command
+    bool writeSectorResponse(int); // response from write sector command
+    bool readResponse(); // response from read byte or read word commands
     
 protected :