mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-05 07:27:49 +00:00
df0d0d29a4
Added 125 MHz rp2040 timing Added unsafe.Pointer for pointer conversion
12 lines
331 B
Go
12 lines
331 B
Go
//go:build !digispark && !arduino && !qtpy && !m5stamp_c3 && !thingplus_rp2040
|
|
// +build !digispark,!arduino,!qtpy,!m5stamp_c3,!thingplus_rp2040
|
|
|
|
package main
|
|
|
|
import "machine"
|
|
|
|
// Replace neo and led in the code below to match the pin
|
|
// that you are using if different.
|
|
var neo machine.Pin = machine.WS2812
|
|
var led = machine.LED
|