program to test screen of the Rioux group computer card
Dependencies: CHEM_CONTROL mbed
main.cpp
- Committer:
- riouxgroup
- Date:
- 2014-07-08
- Revision:
- 0:844ccaebaa94
File content as of revision 0:844ccaebaa94:
#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);
}