Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: help/help.h
- 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;
};