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: mbed mbed-rtos 4DGL-uLCD-SE HC_SR04_Ultrasonic_Library
Diff: main.cpp
- Revision:
- 11:f5d0c8bf1849
- Parent:
- 10:7a939a54515e
- Child:
- 12:bebfef8d229f
--- a/main.cpp Fri Apr 24 03:00:36 2020 +0000
+++ b/main.cpp Fri Apr 24 03:01:15 2020 +0000
@@ -21,7 +21,7 @@
volatile int musicChoice = 0;
//musicChoice can be values 0 to 3
-voltatile int sdist = 0;
+volatile int sdist = 0;
void sonar(int distance)
{
//put code here to execute when the sonar distance has changed