tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/sdcard/console/m0.go (about) 1 //go:build atsamd21 && !p1am_100 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.D2 15 16 ledPin = machine.LED 17 }