Vizic Technologies
/
SimpleClock_SG2
Simple Clock Demo - MBED + SmartGPU2 board
Revision 3:05e0e61ebf24, committed 2014-04-18
- Comitter:
- emmanuelchio
- Date:
- Fri Apr 18 00:41:37 2014 +0000
- Parent:
- 2:22fecf4cd6a1
- Commit message:
- SmartGPU2 SimpleClock_SG2 demo- Please select(uncomment) your smartGPU2 board under SMARTGPU2.h file before compiling!!!
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 22fecf4cd6a1 -r 05e0e61ebf24 main.cpp --- a/main.cpp Fri Apr 18 00:38:31 2014 +0000 +++ b/main.cpp Fri Apr 18 00:41:37 2014 +0000 @@ -54,8 +54,8 @@ initializeSmartGPU2(); //Init communication with SmartGPU2 board lcd.baudChange(BAUD7); //set a fast baud! for fast drawing - lcd.drawCircle(HALFX,HALFY,(HALFY/2)-5,CLOCKBODYCOLOUR,FILL); //draw clock body - lcd.drawCircle(HALFX,HALFY,(HALFY/2)-5,CLOCKEDGECOLOUR,UNFILL); //draw clock edge + lcd.drawCircle(HALFX,HALFY,HALFY-5,CLOCKBODYCOLOUR,FILL); //draw clock body + lcd.drawCircle(HALFX,HALFY,HALFY-5,CLOCKEDGECOLOUR,UNFILL); //draw clock edge //config strings lcd.setTextColour(CLOCKEDGECOLOUR);