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:
- 19:a259bc128867
- Parent:
- 18:829f3e2c064c
- Child:
- 20:88e137b9ea46
--- a/Picaso_4DGL-32PTU.h Thu Sep 15 12:40:48 2016 +0000
+++ b/Picaso_4DGL-32PTU.h Thu Sep 15 13:31:53 2016 +0000
@@ -101,6 +101,7 @@
#define MEDIA_WRITE_SECTOR 0x0017
#define MEDIA_READ_BYTE 0xFF8F
#define MEDIA_READ_WORD 0xFF8E
+#define MEDIA_WRITE_BYTE 0xFF8D
// Screen answers
@@ -290,7 +291,8 @@
bool media_WrSector(char *); // write sector
bool media_WrData(char *, int); // write sector
bool media_ReadByte(); // read byte
- bool media_ReadWord(); // read byte
+ bool media_ReadWord(); // read word
+ bool media_WriteByte(short); // write byte
// Texts Commands
void setFont(char); // set desired font from embedded fonts
@@ -319,6 +321,7 @@
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
+ bool writeByteResponse(); // response from write sector command
protected :