Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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
--- 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
--- 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
--- /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
--- 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
--- /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"]}