FSM-55: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
1. Intro | == 1. Intro == | ||
Having fun with LED matrices! | |||
3. Creating your message | == 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 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 | 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. | Messages are encoded in a 5 x 5 grid of LEDs. The 'led' thread loops through each column of 5x5 grid. | ||
| Line 20: | Line 28: | ||
----- | ----- | ||
4. Uploading your code | Each message is encoded as such: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
== 4. Uploading your code == | |||
5. References | == 5. References == | ||
Revision as of 13:27, 22 March 2015
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:
-
-
-
-
-