SNAKE_STM32F3
Toggle main menu visibility
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
36
void
ws2812b_matrix_set_coord
(uint8_t x, uint8_t y, uint8_t R, uint8_t G, uint8_t B);
37
49
void
ws2812b_matrix_fill
(uint8_t R, uint8_t G, uint8_t B, uint8_t delay,
bool
update);
50
51
#endif
/* INC_WS2812B_MATRIX_H_ */
ws2812b_matrix_set_coord
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
ws2812b_matrix_fill
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
firmware
SNAKE_STM32F3
libs
ws2812b
ws2812b_matrix.h
Generated by
1.17.0