mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-07 16:33:39 +00:00
df0d0d29a4
Added 125 MHz rp2040 timing Added unsafe.Pointer for pointer conversion
14 lines
333 B
Go
14 lines
333 B
Go
//go:build thingplus_rp2040
|
|
// +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
|