Robot that currently does nothing
Dependencies: 4DGL-uLCD-SE SDFileSystem ShiftBrite mbed-rtos mbed wave_player Motor
Diff: main.cpp
- Revision:
- 3:86cc67dbf731
- Parent:
- 2:693b0fe96793
- Child:
- 4:589e4a2028a7
--- a/main.cpp Wed Mar 15 04:46:24 2017 +0000 +++ b/main.cpp Wed Mar 15 05:21:48 2017 +0000 @@ -1,5 +1,3 @@ -//First push to mbed repos - #include "mbed.h" #include "rtos.h" #include "uLCD_4DGL.h" @@ -43,7 +41,7 @@ } void sound_thread(){ //FILE *wave_file; - wave_file=fopen("/sd/Police_Siren.wav","r"); + wave_file=fopen("/sd/vacuum.wav","r"); if (wave_file == NULL){ led1=led2=led3=led4 = 1; // if file read error, all LEDs ON }