tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/sdcard/console/feather-m4.go (about) 1 //go:build feather_m4 || feather_m4_can || feather_nrf52840 2 3 package main 4 5 import ( 6 "machine" 7 ) 8 9 func init() { 10 spi = &machine.SPI0 11 sckPin = machine.SPI0_SCK_PIN 12 sdoPin = machine.SPI0_SDO_PIN 13 sdiPin = machine.SPI0_SDI_PIN 14 csPin = machine.D10 15 16 ledPin = machine.LED 17 }