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
Aim Class Reference
#include <Aim.h>
Public Member Functions | |
| Aim () | |
| Constructor. | |
| ~Aim () | |
| Destructor. | |
| void | init () |
| Initalises Aim. | |
| void | draw (N5110 &lcd, int state) |
| Draws the spike baste on state. | |
| void | update (Gamepad &pad) |
| update the position of the sprite using the joystick | |
| Vector2D | get_pos () |
| gets co-ordinates of the sprite @ return position vector | |
| void | set_pos (int x, int y) |
| set co ordinates of sprite | |
| void | acc_control (FXOS8700CQ &acc) |
| update the position of the sprite using the accelerometer | |
Detailed Description
Aim class.
cursor sprite
- Date:
- May 2020
Definition at line 16 of file Aim.h.
Constructor & Destructor Documentation
Member Function Documentation
| void acc_control | ( | FXOS8700CQ & | acc ) |
| void draw | ( | N5110 & | lcd, |
| int | state | ||
| ) |
| Vector2D get_pos | ( | ) |
| void set_pos | ( | int | x, |
| int | y | ||
| ) |
Generated on Tue Jul 12 2022 18:29:13 by
1.7.2