sample code for LPC810 ToraGi I2C board. you can compile it by mbed compiler.

Dependencies:   mbed

Fork of lpc810_helloworld by Norimasa Okamoto

Committer:
va009039
Date:
Sat Dec 14 11:42:44 2013 +0000
Revision:
0:9b94dbd65a21
Child:
1:67310303497a
first commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 0:9b94dbd65a21 1 #include "mbed.h"
va009039 0:9b94dbd65a21 2
va009039 0:9b94dbd65a21 3 //DigitalOut myled(LED1);
va009039 0:9b94dbd65a21 4 DigitalOut myled(P0_0); //lpc810 dp8
va009039 0:9b94dbd65a21 5
va009039 0:9b94dbd65a21 6 int main() {
va009039 0:9b94dbd65a21 7 while(1) {
va009039 0:9b94dbd65a21 8 myled = 1;
va009039 0:9b94dbd65a21 9 wait(0.2);
va009039 0:9b94dbd65a21 10 myled = 0;
va009039 0:9b94dbd65a21 11 wait(0.2);
va009039 0:9b94dbd65a21 12 }
va009039 0:9b94dbd65a21 13 }