Go to the documentation of this file.
31 #define MICROBIT_MATRIX_ROWS (5U)
36 #define MICROBIT_MATRIX_COLS (5U)
void microbit_matrix_shift_str(const char *str, uint32_t delay)
Shift the given string through the LED matrix.
void microbit_matrix_init(void)
Initialize the micro:bit's LED matrix.
void microbit_matrix_on(uint8_t row, uint8_t col)
Turn on a single LED in the LED matrix.
void microbit_matrix_set_raw(const uint8_t *buf)
Write the given 'image' to the LED matrix.
void microbit_matrix_off(uint8_t row, uint8_t col)
Turn off a single LED in the LED matrix.
void microbit_matrix_set_char(char c)
Write the given character to the matrix, using the Mineplex font.
void delay(unsigned long msec)
Sleep for a given amount of time [milliseconds].