Add multi-panel Pico UDP firmware and Python LED control.
Pico panels get static IPs on 10.1.1.10–14 with per-panel LED counts, Makefile deploy targets, and Python examples for animations, sync tests, and direct Pi SPI control. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
19
firmware/panel/ws2812_led.h
Normal file
19
firmware/panel/ws2812_led.h
Normal file
@@ -0,0 +1,19 @@
|
||||
#ifndef WS2812_LED_H
|
||||
#define WS2812_LED_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void ws2812_init(unsigned int pin, unsigned int num_leds);
|
||||
void ws2812_set_rgb(const uint8_t *rgb, unsigned int count);
|
||||
void ws2812_fill(uint8_t r, uint8_t g, uint8_t b);
|
||||
void ws2812_show(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user