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: N5110 PowerControl mbed
Auto generated API documentation and code listings for PacManII
| JoyStick | Creates a struct object for the joystick |
Code
| main.cpp [code] | Program implementation |
| main.h [code] | Header file containing functions prototypes, defines and global variables |
| tone.h [code] |
Namespaces
| bright | Potentiometer For LCD brightness adjustment |
| button | Button to start game |
| buzzer | Piezo buzzer to output game music |
| ghost | Ticker object to regularly update the ghost |
| Jbutton | Joystick button for pausing game |
| LocalFileSystem | Local("local") |
| N5110lcd | Create a N5110 object connected to the specified pins |
| pollJoystick | Ticker object to regularly read the joystick |
| PWM1 | Yellow LED |
| PWM2 | Green LED |
| PWM3 | Red LED |
| score | Ticker object to count score |
| timer | Timeout object to put mbed into sleep mode and turn off lcd after a period of inactivity |
| xPot | Joystick x-direction adjustment |
| yPot | Joystick y-direction adjustment |