![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This is a test program for the eee@ncl project
Dependencies: mbed SHT21_ncleee
main.cpp
- Committer:
- graeme88
- Date:
- 2012-11-29
- Revision:
- 1:9d26ddb57191
- Parent:
- 0:1f030e17b99a
- Child:
- 2:b7ce3ec3d45d
File content as of revision 1:9d26ddb57191:
#include "mbed.h" DigitalOut myled(LED1); Serial pc(USBTX, USBRX); int main() { while(1) //loop forever { for(int i=0; i<10; i++) //count from 0 to 9 { myled = !myled; //toggle LED pc.printf("%d\n",i); //send a character to the PC, PC will see '0' in Ascii which is equal to 48 in dec, 30 in hex wait(1.0); } } }