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>
18 lines
241 B
Go
18 lines
241 B
Go
//go:build thingplus_rp2040
|
|
|
|
package main
|
|
|
|
import (
|
|
"machine"
|
|
)
|
|
|
|
func init() {
|
|
spi = machine.SPI1
|
|
sckPin = machine.SPI1_SCK_PIN
|
|
sdoPin = machine.SPI1_SDO_PIN
|
|
sdiPin = machine.SPI1_SDI_PIN
|
|
csPin = machine.GPIO9
|
|
|
|
ledPin = machine.LED
|
|
}
|