mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
8b3075fdba
Signed-off-by: deadprogram <ron@hybridgroup.com>
13 lines
306 B
Go
13 lines
306 B
Go
//go:build thingplus_rp2040
|
|
|
|
package main
|
|
|
|
import "machine"
|
|
|
|
// This is the pin assignment for the internal neopixel of the
|
|
// Sparkfun thingplus rp2040.
|
|
// Replace neo and led in the code below to match the pin
|
|
// that you are using if different.
|
|
var neo machine.Pin = machine.GPIO8
|
|
var led = machine.LED
|