Basic Hello LED Matrix Example
Displays the text Hello World! on an LED Matrix.
- SDK directory:
apps/basic/hello_led_matrix
- Zentri App Store:
ZENTRI-BAHELLOLED
API Features Demonstrated
Platforms
This app works on:
- AMW004 - Zentri Mackerel evaluation board. See Connecting a Zentri AMW004 to a Zentri ASG001 Backpack
- AMW106 - Zentri Moray evaluation board
Requirements and Prerequisites
Requires a ZentriOS evaluation board and an Adafruit 8x8 LED Matrix, such as provided with the Zentri ASG001 Monitor Backpack.
Description
This example demonstrates usage of the ZentriOS LED Matrix 8x8 Library. The text "Hello World!" is scrolled across the LED matrix.
Usage Instructions
On building, downloading and running, the app displays:
> Starting 'Hello World - LED Matrix' App
The text scrolls across the display without further interaction.
Implementation
zn_app_init
led_matrix8x8_init initializes the display
You can experiment with the parameters of the other functions:
- led_matrix8x8_set_text - allocate text memory and set text value
- led_matrix8x8_set_blink_rate - 0 no blink, 3 slow blink
- led_matrix8x8_set_brightness - 15 is maximum
- led_matrix8x8_set_scroll_rate - 80 ms is readable, 20 ms is four times faste
Source
See: