motion sensor is used to detect the any object
Fork of HelloWorld by
main.cpp
- Committer:
- simon
- Date:
- 2011-01-16
- Revision:
- 0:fb6bbc10ffa0
- Child:
- 2:e78cebb5a0d5
File content as of revision 0:fb6bbc10ffa0:
#include "mbed.h" DigitalOut myled(LED1); int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); } }