Luke Cartwright / Mbed 2 deprecated ELEC2645_Project_el18loc_nearlythere

Dependencies:   mbed

Revision:
4:9b7ea5528a5c
Parent:
3:b7df72682b81
Child:
19:08862f49cd9e
--- a/Gamepad2/Gamepad.cpp	Wed Apr 01 16:25:32 2020 +0000
+++ b/Gamepad2/Gamepad.cpp	Tue Apr 07 18:56:28 2020 +0000
@@ -23,7 +23,8 @@
 
     _pot1(new AnalogIn(PTB2)),
     _pot2(new AnalogIn(PTB3)),
-
+    
+    //rca(new PwmOut(PTE25)),
     dac(new AnalogOut(DAC0_OUT)),
     ticker(new Ticker),
     timeout(new Timeout),
@@ -370,6 +371,7 @@
     start_fall = true;
 }
 
+
 void Gamepad::set_bpm(float bpm)
 {
     _bpm = bpm;
@@ -424,6 +426,7 @@
 }
 
 
+
 void Gamepad::play_next_note()
 {
     // _note is the note index to play
@@ -470,4 +473,4 @@
 {
     // stops the ticker to end the note
     ticker->detach();
-}
+}
\ No newline at end of file