SNAKE_STM32F3
Loading...
Searching...
No Matches
ws2812b_matrix.h
Go to the documentation of this file.
1
11
12#ifndef INC_WS2812B_MATRIX_H_
13#define INC_WS2812B_MATRIX_H_
14
15#include <stdint.h>
16#include <stdbool.h>
17
18
22#define MATRIX_DIM 8
23
36void ws2812b_matrix_set_coord(uint8_t x, uint8_t y, uint8_t R, uint8_t G, uint8_t B);
37
49void ws2812b_matrix_fill(uint8_t R, uint8_t G, uint8_t B, uint8_t delay, bool update);
50
51#endif /* INC_WS2812B_MATRIX_H_ */
void ws2812b_matrix_set_coord(uint8_t x, uint8_t y, uint8_t R, uint8_t G, uint8_t B)
Sets diode of chosen coordinates to specified RGB color.
Definition ws2812b_matrix.c:15
void ws2812b_matrix_fill(uint8_t R, uint8_t G, uint8_t B, uint8_t delay, bool update)
Fills diode matrix with one chosen color.
Definition ws2812b_matrix.c:21