ELEC2645 (2018/19) / Mbed 2 deprecated el17m2h_public

Dependencies:   mbed

Revision:
17:74de8c17ddac
Parent:
16:e0542761fc8c
Child:
18:9f40a2f8c2c5
--- a/Doodler/Doodler.cpp	Wed Apr 24 10:33:39 2019 +0000
+++ b/Doodler/Doodler.cpp	Wed Apr 24 10:37:47 2019 +0000
@@ -29,7 +29,7 @@
     lcd.drawCircle(_position_x, _position_y, _radius, FILL_BLACK);
 }
 
-void Doodler::update(Direction d, float mag, bool button_Y){
+void Doodler::update(Direction d, float mag){
     // 5 frames times the magnitude of the joystick (int holds that value)
     _velocity_x = int(mag*5.0f); 
     if (d == W || d == NW || d == SW){ // if direction is left (at an angle or not)