ELEC2645 (2017/18) / Mbed 2 deprecated el17yw

Dependencies:   mbed

Revision:
20:a3fd428fb4f4
Parent:
19:362ad1cd6d4a
Child:
21:f48e269bafa4
--- a/help/help.h	Sat Apr 28 21:59:45 2018 +0000
+++ b/help/help.h	Sat Apr 28 23:32:23 2018 +0000
@@ -1,4 +1,4 @@
-#ifndef HHELP_H
+#ifndef HELP_H
 #define HELP_H
 
 #include "mbed.h"
@@ -14,6 +14,9 @@
    
    void welcome(Gamepad &pad,N5110 &lcd);
    void draw(N5110 &lcd);
+   void update(Direction d,float mag,Gamepad &pad,N5110 &lcd);
+   void init(int x,int y);
+   void read_input(Gamepad &pad);
   
   
   
@@ -21,6 +24,10 @@
  
    int arrow_x;
    int arrow_y;
+   int arrow_speed;
+   
+    Direction _d;
+    float _mag;
 };