MMIA
Dependencies: MMA8451Q TSI USBDevice mbed
main.cpp
- Committer:
- chris
- Date:
- 2012-10-12
- Revision:
- 0:0024ab6b9624
- Child:
- 1:4f62fc36c30d
File content as of revision 0:0024ab6b9624:
#include "mbed.h" int main() { DigitalOut gpo(PTB8); DigitalOut led(LED_RED); while(1) { gpo = 1; led=1; // Off wait(2); gpo = 0; led=0; // on wait(2); } }