machine/thingplus_rp2040, machine/waveshare-rp2040-zero:add WS2812 definition

This commit is contained in:
sago35
2024-04-15 09:20:56 +09:00
committed by Ron Evans
parent 3d433fe9f1
commit 797a5a2031
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -46,7 +46,11 @@ const (
A3 = GPIO29 A3 = GPIO29
) )
const LED = GPIO25 // Onboard LEDs
const (
LED = GPIO25
WS2812 = GPIO8
)
// I2C Pins. // I2C Pins.
const ( const (
@@ -52,6 +52,7 @@ const (
// Onboard LEDs // Onboard LEDs
const ( const (
NEOPIXEL = GPIO16 NEOPIXEL = GPIO16
WS2812 = GPIO16
) )
// I2C pins // I2C pins