Konlatee Sittichaivijit / Mbed 2 deprecated PacManII

Dependencies:   N5110 PowerControl mbed

Auto generated API documentation and code listings for PacManII

Classes

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