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