This is the Official SmartGPU 2 processor board library to use with MBED boards!!!

Dependents:   BounceBall_SG2 BounceBalls_SG2 EEPROM_SG2 Ellipses_SG2 ... more

Files at this revision

API Documentation at this revision

Comitter:
emmanuelchio
Date:
Thu Apr 17 21:23:17 2014 +0000
Parent:
2:3ae3f28ae9fe
Commit message:
SmartGPU2 Official Mbed library V2.2, compatible with all smartGPU2 boards: 2.4", 3.5", 4.3" and 7.0". Always select(uncomment) your smartGPU2 board under SMARTGPU2.h file - Vizic Technologies 2014

Changed in this revision

SMARTGPU2.cpp Show annotated file Show diff for this revision Revisions of this file
SMARTGPU2.h Show annotated file Show diff for this revision Revisions of this file
diff -r 3ae3f28ae9fe -r a57cfeb0185d SMARTGPU2.cpp
--- a/SMARTGPU2.cpp	Thu Apr 17 21:17:00 2014 +0000
+++ b/SMARTGPU2.cpp	Thu Apr 17 21:23:17 2014 +0000
@@ -14,7 +14,7 @@
 *********************************************************/
  
 /********************************************************
- MBED SMARTGPU2 LIBRARY VERSION V2.1
+ MBED SMARTGPU2 LIBRARY VERSION V2.2
  IMPORTANT : This library is created for the MBED Software IDE
 ********************************************************/
  
@@ -26,10 +26,10 @@
 //Communication Functions(PLATFORM DEPENDENT) - MODIFY TO FIT YOUR PLATFORM IF DIFFERENT THAN MBED
 /****************************************************************/
 //Sends a single character through the serial port(USART)
-#define putcharTX(data) _serialSMARTGPU2.putc(data)
+#define putcharTX(data)  _serialSMARTGPU2.putc(data)
 
 //Returns a single character obtained from the serial port(USART)
-#define getcharRX()     _serialSMARTGPU2.getc()
+#define getcharRX()      _serialSMARTGPU2.getc()
 
 //Changes/Sets a new baudrate of the Host
 #define setBaud(newBaud) _serialSMARTGPU2.baud(newBaud)
diff -r 3ae3f28ae9fe -r a57cfeb0185d SMARTGPU2.h
--- a/SMARTGPU2.h	Thu Apr 17 21:17:00 2014 +0000
+++ b/SMARTGPU2.h	Thu Apr 17 21:23:17 2014 +0000
@@ -14,7 +14,7 @@
 *********************************************************/
  
 /********************************************************
- MBED SMARTGPU2 LIBRARY VERSION V2.1
+ MBED SMARTGPU2 LIBRARY VERSION V2.2
  IMPORTANT : This library is created for the MBED Software IDE
 ********************************************************/
  
@@ -25,11 +25,11 @@
  
 /*******************USER MODIFABLE**********************/
 //-Uncomment your preferred smartGPU2 board(only 1 at time)----------------
-//#define LCD160X128   //SmartGPU2 1.8" connected via SmartSHIELD
-#define LCD320X240   //SmartGPU2 2.4" connected via SmartSHIELD
-//#define LCD480X320   //SmartGPU2 3.5" connected via SmartSHIELD
-//#define LCD480X272   //SmartGPU2 4.3" connected via SmartSHIELD
-//#define LCD800X480   //SmartGPU2 7.0" connected via SmartSHIELD
+//#define LCD160X128   //SmartGPU2 1.8"
+//#define LCD320X240   //SmartGPU2 2.4"
+//#define LCD480X320   //SmartGPU2 3.5"
+//#define LCD480X272   //SmartGPU2 4.3"
+//#define LCD800X480   //SmartGPU2 7.0"
 
 //General MBED pinout defines
 #define TXPIN    p13
@@ -39,7 +39,6 @@
 
 //delay word compatibility for mbed platform
 #define delay wait_ms
-
 /****************END OF USER MODIFABLE******************/
 
 /**************DON'T MODIFY UP FROM HERE****************/
@@ -265,7 +264,7 @@
     SCALE1_8       // 1 to 8
 } JPGSCALEFACTOR; //to set the desired JPG image decompression scale factor
 
-//Recommended(but not limited to) Arduino-SmartGPU Baud rate definitions
+//Recommended(but not limited to) Mbed-SmartGPU Baud rate definitions
 typedef enum{
     BAUD0 = 9600,
     BAUD1 = 19200,