Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Picaso_4DGL-32PTU.h
- Revision:
- 18:829f3e2c064c
- Parent:
- 16:cb072eea16e9
- Child:
- 19:a259bc128867
--- 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 :