An ADC game on the LPC1114

This is a simple game for the LPC1114FN28 (DIP version). The user controls the location of an @ symbol on the display, trying to steer it away from the edges of the ‘tunnel’. The user starts with 16 ‘lives’ and the game ends when the user runs out of lives.


The wiring diagram is as shown below.
The two buttons are used to reset and enter ISP mode. The potentiometer is used to control the @ symbol.


During game play, the screen scrolls vertically. The micro draws a series of dots with a gap in the middle as shown below:

…………………………….     @       ……………………00000010

The gap randomly migrates back and forth with each new line. The number to the right is the remaining lives (in hex)
Sourcecode available from here

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s