Basic funcitonality

Dependencies:   mbed mbed-rtos SevenSegmentSerial HC_SR04_Ultrasonic_Library

Revision:
2:8c29e1aaaff0
Parent:
1:28e137ae5af7
Child:
3:293a771fc470
--- a/main.cpp	Mon Apr 19 18:06:59 2021 +0000
+++ b/main.cpp	Mon Apr 19 18:14:06 2021 +0000
@@ -32,10 +32,11 @@
 enum state_type {start,past_start,past_cp1,past_cp2};
 state_type track_state = start;
 
+// Plays bleep for crossing finish line
 void play_audio()
 {
     speaker =0.5; //50% duty cycle - max volume
-    Thread::wait(3);
+    Thread::wait(150);
     speaker=0.0; // turn off audio
 }