Book Image

Raspberry Pi Embedded Projects Hotshot

Book Image

Raspberry Pi Embedded Projects Hotshot

Overview of this book

Table of Contents (20 chapters)
Raspberry Pi Mechatronics Projects HOTSHOT
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Marquee design and control (optional)


In this task, we will implement the marquee control for our arcade game. We will display information such as the player's turn (whether it is the computer or the human player's turn), the winner of the game at the end (or whether it was a tie), or game-specific messages on the marquee. We will use the Pi Lite LED Matrix display (http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-1206-red/) that can be used to scroll messages across the display.

Pi Lite – Courtesy: The Ciseco PLC website

Prepare for lift off

The Pi Lite display can be purchased from the Ciseco PLC website (http://shop.ciseco.co.uk/pi-lite-lots-of-leds-for-the-raspberry-pi-1206-red/). The display costs about 33 USD.

One of the requirements is the serial library, which is required to control the display. It can be installed as follows:

sudo apt-get install python-serial

Once we are done installing the module, we should be able to import the module and start programming the...