program to test screen of the Rioux group computer card
Dependencies: CHEM_CONTROL mbed
Revision 0:844ccaebaa94, committed 2014-07-08
- Comitter:
- riouxgroup
- Date:
- Tue Jul 08 13:58:11 2014 +0000
- Commit message:
- something is "off" but I am not sure what
Changed in this revision
diff -r 000000000000 -r 844ccaebaa94 CHEM_CONTROL.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/CHEM_CONTROL.lib Tue Jul 08 13:58:11 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/emh203/code/CHEM_CONTROL/#7798270c1f52
diff -r 000000000000 -r 844ccaebaa94 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Jul 08 13:58:11 2014 +0000 @@ -0,0 +1,23 @@ +#include "mbed.h" +#include "CHEM_BOX_INTERFACE.h" + + +int main() +{ + int i; +InitChemBox(); + +for(i=0; i<6; i++) +{ + Buzz(.5); + wait(.1); + } + + + + +SmartSwitch_SetBackLightColor(3, 3, 3); +GFX_FullDissplayBufferClear(&BackBuffer); +GFX_DrawLine(&BackBuffer, 0,0, PHYSICAL_DISPLAY_XRES - 1, 0); +GFX_DrawLine(&BackBuffer, PHYSICAL_DISPLAY_XRES - 1,0,PHYSICAL-DISPLAYXRES - 1 ,PHYSICAL-DISPLAY-YRES - 1); +} \ No newline at end of file
diff -r 000000000000 -r 844ccaebaa94 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Jul 08 13:58:11 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/024bf7f99721 \ No newline at end of file