MMIA
Dependencies: MMA8451Q TSI USBDevice mbed
main.cpp
- Committer:
- emilmont
- Date:
- 2012-10-23
- Revision:
- 1:4f62fc36c30d
- Parent:
- 0:0024ab6b9624
- Child:
- 2:f37d74a0e3e2
File content as of revision 1:4f62fc36c30d:
#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); } }