Skip to content

Commit

Permalink
machine/thingplus_rp2040, machine/waveshare-rp2040-zero:add WS2812 de…
Browse files Browse the repository at this point in the history
…finition
  • Loading branch information
sago35 authored and deadprogram committed Apr 24, 2024
1 parent 3d433fe commit 797a5a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/machine/board_thingplus_rp2040.go
Expand Up @@ -46,7 +46,11 @@ const (
A3 = GPIO29
)

const LED = GPIO25
// Onboard LEDs
const (
LED = GPIO25
WS2812 = GPIO8
)

// I2C Pins.
const (
Expand Down
1 change: 1 addition & 0 deletions src/machine/board_waveshare-rp2040-zero.go
Expand Up @@ -52,6 +52,7 @@ const (
// Onboard LEDs
const (
NEOPIXEL = GPIO16
WS2812 = GPIO16
)

// I2C pins
Expand Down

0 comments on commit 797a5a2

Please sign in to comment.