The main program bbgame248.ino contains a space invaders-like game that uses the BBGame248 library to demonstrate the use of text and graphics on the 24x8 LED matrix. The coding examples below show other types of programs that can be written.
The BBGame248Lib.zip library for Arduino included in this repository is a library that allows the BBGame248 device to be programmed with higher level methods/functions than the Arduino digitalWrite and digitalRead functions. See the page BBGame248Lib Library Reference page for more information on this library.
This repository contains several coding exercises. Exercises Ex01 to Ex07 are exercises than can be done with a partially assembled LED matrix of 8x8 pixels. The remaining exercises require the fully assembled BBGame248 circuit with and LED matrix of 24x8 pixels.
| Number | Description |
|---|---|
| Ex01 | Blink |
| Ex02 | Sequence |
| Ex02b | Sequence with Button |
| Ex03 | Text Input Output |
| Ex03b | Text Input Output LED Control |
| Ex05 | Matrix Test |
| Ex06 | Numeric Counter |
| Ex07 | Set Pixels |
| Ex07b | Set Pixels with Photoresistor |
| Ex08 | Scrolling Text |
| Ex09 | Thousand Counter |
| Ex09b | Thousand Counter with Button |
| Ex10a | Game Elements (Ship) |
| Ex10b | Game Elements (Laser) |
| Ex11b | Light Meter Bar Graph |