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_main.cpp
- Revision:
- 15:86bdf382e6f7
- Parent:
- 14:561cb06a2739
- Child:
- 16:cb072eea16e9
diff -r 561cb06a2739 -r 86bdf382e6f7 Picaso_4DGL-32PTU_main.cpp
--- a/Picaso_4DGL-32PTU_main.cpp Thu Sep 15 09:48:59 2016 +0000
+++ b/Picaso_4DGL-32PTU_main.cpp Thu Sep 15 11:52:31 2016 +0000
@@ -103,6 +103,20 @@
for (i = 0; i < number; i++) writeBYTE(command[i]); // send command to serial port
}
+//******************************************************************************************************
+void PICASO_4DGL :: writeCOMMAND_2(char *command, int number) { // send several BYTES making a command and return an answer
+
+#if DEBUGMODE
+ pc.printf("\n\r");
+ pc.printf("New COMMAND : 0x%02X%02X\n\r", command[0], command[1]);
+#endif
+ int i;
+ freeBUFFER();
+ //index = 0;
+
+ for (i = 0; i < number; i++) _cmd.putc(command[i]); // send command to serial port
+}
+
//**************************************************************************
void PICASO_4DGL :: reset() { // Reset Screen