![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
RYU HoSeong
Dependencies: HC_SR04_Ultrasonic_Library mbed-rtos mbed-src mbed HCSR04
Fork of Nucleo_UltrasonicHelloWorld by
Diff: main.cpp
- Revision:
- 5:e1849ee9651d
- Parent:
- 4:eb5a51640b43
- Child:
- 6:7ceab53d9a2f
--- a/main.cpp Fri Aug 07 00:12:47 2015 +0000 +++ b/main.cpp Fri Aug 07 14:39:58 2015 +0000 @@ -62,7 +62,11 @@ int main() { - pc.printf("Start ----> \n"); +#ifdef TEST_ULTRASONIC + pc.printf("Start ----> TEST_ULTRASONIC\n"); +#else + pc.printf("Start ----> HCSR04\n"); +#endif #ifdef TEST_ULTRASONIC mu.startUpdates();//start mesuring the distance