Display distance in hyper terminal
Dependencies: HC_SR04_Ultrasonic_Library mbed
Revision 0:63646f8d0c64, committed 2015-01-10
- Comitter:
- Sandesh
- Date:
- Sat Jan 10 07:33:15 2015 +0000
- Commit message:
- ultrasonic sensor
Changed in this revision
diff -r 000000000000 -r 63646f8d0c64 HC_SR04_Ultrasonic_Library.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/HC_SR04_Ultrasonic_Library.lib Sat Jan 10 07:33:15 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/ejteb/code/HC_SR04_Ultrasonic_Library/#e0f9c9fb4cf3
diff -r 000000000000 -r 63646f8d0c64 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sat Jan 10 07:33:15 2015 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + while(1) { + myled = 1; + wait(0.2); + myled = 0; + wait(0.2); + } +}
diff -r 000000000000 -r 63646f8d0c64 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sat Jan 10 07:33:15 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/4fc01daae5a5 \ No newline at end of file