Jump to content
43oh

Recommended Posts

Everybody here certainly loves the MSP430LaunchPad. But its is not easy to communicate info from the controller to the outside world. To switch some LED on and off is the most you can easily do.

Larsie (Lars Kristian Roland), a member of this forum made a wonderful project, a LCD booster back for the MSP430:

http://www.43oh.com/forum/viewtopic.php?f=9&t=2138

These are available in Larsies shop or in the 43oh shop. I lately bought one of thouse. To learn how to program the LCD controller, I first made some font demos and then the game here.

 

For an interactive game you need some buttons. On Larsies booster pack there is space for 4 small push buttons. I did not have buttons this small. Instead I made a small board with 4 larger buttons and connected them with a small ribbon cable.

 

The game displays a good guy icon (you) and several bad guys icons. You can cotrol the good guy using the for four buttons. The bad guys move around and you must try to avoid them. If a bad catches you, the game is finished.

At the beginning, you may choose 4 levels from easy to hard.

 

====> The code for the MSP430LaunchPad can be found here: <======

https://sites.google.com/site/msp430game/EscapeGame.zip

 

Here are some pictures:

 

The "key board"

KeyBoard.JPG

The start screen

StartScreen.JPG

The game screen:

GameScreen.JPG

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...