Hardware Reference
In-Depth Information
Marquee design and control
(optional)
In this task, we will implement the marquee control for our arcade game. We will display
informaion 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 ie), or game-speciic 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 messages in our game. The Ciseco Pi-Lite GitHub repository comes with
examples such as the Bar Scroll example. It is essenial that you download such examples
and test if the python-serial module is funcionally correct.
 
Search WWH ::




Custom Search