Created libraries2
Dependencies: mbed ultrasonic
Diff: main.cpp
- Revision:
- 1:21587a66f911
- Parent:
- 0:017111c9207d
- Child:
- 2:8938c73c2aa8
--- a/main.cpp Tue Mar 10 14:10:19 2015 +0000 +++ b/main.cpp Tue Mar 10 14:15:41 2015 +0000 @@ -1,2 +1,13 @@ #include "mbed.h" #include "ultrasonic.h" + +PwmOut TX(D9); +DigitalOut myled(LED1); + +int main() { + TX.period_us(25); + TX.write(50); + while(1) { + + } +}