tinygo.org/x/drivers@v0.27.1-0.20240509133757-7dbca2a54349/examples/sdcard/console/grandcentral-m4.go (about)

     1  //go:build grandcentral_m4
     2  
     3  package main
     4  
     5  import (
     6  	"machine"
     7  )
     8  
     9  func init() {
    10  	spi = &machine.SPI1
    11  	sckPin = machine.SDCARD_SCK_PIN
    12  	sdoPin = machine.SDCARD_SDO_PIN
    13  	sdiPin = machine.SDCARD_SDI_PIN
    14  	csPin = machine.SDCARD_CS_PIN
    15  
    16  	ledPin = machine.LED
    17  }