A test blinky program by using the Toragi ARM writer.
main.cpp
- Committer:
- jppang
- Date:
- 2014-02-16
- Revision:
- 1:33b6339739a5
- Parent:
- 0:df45872c0560
File content as of revision 1:33b6339739a5:
//NXP LPC1114 #include "mbed.h" #include <cstdlib> //#include <iostream> DigitalOut led(dp14); int main() { //using namespace std; while(1) { led = rand() % 2; //led = 1; wait(0.5); //cout << "Hello World!\n\r" << endl; printf("Hello World !\n\r"); led = 0; wait(0.5); } }