![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
sample code for LPC810 ToraGi I2C board. you can compile it by mbed compiler.
Fork of lpc810_helloworld by
main.cpp
- Committer:
- va009039
- Date:
- 2014-08-27
- Revision:
- 1:67310303497a
- Parent:
- 0:9b94dbd65a21
- Child:
- 2:3d19f6b24059
File content as of revision 1:67310303497a:
#include "mbed.h" // LPC810 pinout #define dp1 P0_5 // nRESET #define dp2 P0_4 // WAKEUP #define dp3 // SWCLK #define dp4 // SWDIO #define dp5 P0_1 // nISP #define dp6 // VIN #define dp7 // GND #define dp8 P0_0 DigitalOut myled(dp8); int main() { while(1) { myled = 1; wait_ms(200); myled = 0; wait_ms(200); } }