![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Game For ECE 2035
Dependencies: mbed wave_player 4DGL-uLCD-SE MMA8452
Diff: hardware.cpp
- Revision:
- 1:399033d39feb
- Parent:
- 0:35660d7952f7
- Child:
- 6:c9695079521d
diff -r 35660d7952f7 -r 399033d39feb hardware.cpp --- a/hardware.cpp Fri Mar 30 17:07:25 2018 +0000 +++ b/hardware.cpp Wed Apr 04 21:11:07 2018 +0000 @@ -17,7 +17,7 @@ DigitalIn button2(p22); DigitalIn button3(p23); AnalogOut DACout(p18); // Speaker (pin) -PwmOut speaker(p25); +PwmOut speaker(p26); wave_player waver(&DACout); // Some hardware also needs to have functions called before it will set up