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:
- 14:561cb06a2739
- Parent:
- 13:1a0800957412
- Child:
- 15:86bdf382e6f7
diff -r 1a0800957412 -r 561cb06a2739 Picaso_4DGL-32PTU.h
--- a/Picaso_4DGL-32PTU.h Thu Sep 15 08:04:37 2016 +0000
+++ b/Picaso_4DGL-32PTU.h Thu Sep 15 09:48:59 2016 +0000
@@ -228,6 +228,7 @@
short Xdest, Ydest;
char buffer[BUFFER_SIZE];
char rxBuf[RXBUFLEN];
+ char sendBlock[BUFFER_SIZE];
char currentFont; // stores current used font
char currentMode; // stores current orientation
@@ -237,7 +238,8 @@
bool calculateOrbitResponse(); // wait for LCD response
short getGraphicsResponse(); // wait for LCD response
short mediaInitResponse(); // response from mediaInit command
- bool readSectorResponse(int); // response from mediaInit command
+ bool readSectorResponse(int); // response from read sector command
+ bool writeSectorResponse(int); // response from write sector command
void reset(); // reset screen
void baudrate(long); // set baudrate
void mainDemo(); // play demo with main functions
@@ -290,6 +292,7 @@
bool media_SetSector(int); // set sector address
bool media_RdSector(); // read sector
bool media_WrSector(char *); // write sector
+ bool media_WrData(char *, int); // write sector
// Texts Commands
void setFont(char); // set desired font from embedded fonts