FSM-55

From Noisebridge
Revision as of 13:27, 22 March 2015 by Unixjazz (talk | contribs)
Jump to navigation Jump to search

1. Intro

Having fun with LED matrices!


2. Connecting your board

3. Creating your message

The fun of this exercise is to create your own message and convert it to a C program.

The program is organized in three threads:

  • LED thread (dynamic LED control)
  • Button thread (watchdog)
  • Application thread (text screen control)

The user does not need to change the low-level threads (LED and Button), only the Application thread.

Messages are encoded in a 5 x 5 grid of LEDs. The 'led' thread loops through each column of 5x5 grid.

    -----
    -----
    -----
    -----
    -----

Each message is encoded as such:

    -
    -
    -
    -
    -

4. Uploading your code

5. References