program to test screen of the Rioux group computer card
Dependencies: CHEM_CONTROL mbed
Diff: main.cpp
- Revision:
- 0:844ccaebaa94
--- /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