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

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