Dependencies: HC_SR04_Ultrasonic_Library
Revision 2:dcd99bcaeaec, committed 2021-06-10
- Comitter:
- JohnnyK
- Date:
- Thu Jun 10 18:49:38 2021 +0000
- Parent:
- 1:4a5586eb1765
- Commit message:
- Up for MbedOS6+
Changed in this revision
diff -r 4a5586eb1765 -r dcd99bcaeaec HC_SR04_Ultrasonic_Library.lib --- a/HC_SR04_Ultrasonic_Library.lib Thu Dec 04 08:04:55 2014 +0000 +++ b/HC_SR04_Ultrasonic_Library.lib Thu Jun 10 18:49:38 2021 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/ejteb/code/HC_SR04_Ultrasonic_Library/#e0f9c9fb4cf3 +https://os.mbed.com/users/JohnnyK/code/HC_SR04_Ultrasonic_Library/#6fd0e9c7ead4
diff -r 4a5586eb1765 -r dcd99bcaeaec main.cpp --- a/main.cpp Thu Dec 04 08:04:55 2014 +0000 +++ b/main.cpp Thu Jun 10 18:49:38 2021 +0000 @@ -7,7 +7,7 @@ printf("Distance changed to %dmm\r\n", distance); } -ultrasonic mu(D8, D9, .1, 1, &dist); //Set the trigger pin to D8 and the echo pin to D9 +ultrasonic mu(D8, D9, 100ms, 1s, &dist); //Set the trigger pin to D8 and the echo pin to D9 //have updates every .1 seconds and a timeout after 1 //second, and call dist when the distance changes
diff -r 4a5586eb1765 -r dcd99bcaeaec mbed-os.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Thu Jun 10 18:49:38 2021 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#14e5d307bb6cdccb554b591ab2602d8d47e0b2d0
diff -r 4a5586eb1765 -r dcd99bcaeaec mbed.bld --- a/mbed.bld Thu Dec 04 08:04:55 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/031413cf7a89 \ No newline at end of file
diff -r 4a5586eb1765 -r dcd99bcaeaec mbed_app.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed_app.json Thu Jun 10 18:49:38 2021 +0000 @@ -0,0 +1,1 @@ +{"requires": ["bare-metal"]}