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:
- 27:dbf79d116497
- Parent:
- 26:c6a803706a42
--- a/Picaso_4DGL-32PTU.h Wed Sep 28 12:41:32 2016 +0000
+++ b/Picaso_4DGL-32PTU.h Thu Sep 29 19:40:53 2016 +0000
@@ -119,12 +119,12 @@
#define FILE_SIZE 0x000E
#define FILE_IMAGE 0xFF11
#define FILE_S_CAPTURE 0xFF10
-#define FILE_CHAR_TO 0x
-#define FILE_CHAR_FROM 0x
-#define FILE_WORD_TO 0x
-#define FILE_WORD_FROM 0x
-#define FILE_STRING_TO 0x
-#define FILE_STRING_FROM 0x
+#define FILE_PUT_C 0x
+#define FILE_GET_C 0x
+#define FILE_PUT_W 0x
+#define FILE_GET_W 0xFF0C
+#define FILE_PUT_S 0x
+#define FILE_GET_S 0x0007
#define FILE_ERASE 0x
#define FILE_REWIND 0x
#define FILE_LOAD_F 0x
@@ -271,6 +271,9 @@
bool file_Image(short, short, short); // display an image
bool file_ScreenCapture(short, short, short, short, short); // make a screenshot
+ short file_GetW(short); // read 2 bytes from a file
+ short file_GetS(short, short, char*); // read specified set of bytes from a file (size, handle, stringTo)
+
protected :
Serial _cmd; // serial variable, to comunicate with screen