github.com/aykevl/tinygo@v0.5.0/src/machine/board_reelboard.go (about) 1 // +build reelboard 2 3 package machine 4 5 const HasLowFrequencyCrystal = true 6 7 // LEDs on the reel board 8 const ( 9 LED = LED1 10 LED1 = LED_YELLOW 11 LED2 = LED_RED 12 LED3 = LED_GREEN 13 LED4 = LED_BLUE 14 LED_RED = 11 15 LED_GREEN = 12 16 LED_BLUE = 41 17 LED_YELLOW = 13 18 ) 19 20 // User "a" button on the reel board 21 const ( 22 BUTTON = 7 23 ) 24 25 // UART pins 26 const ( 27 UART_TX_PIN = 6 28 UART_RX_PIN = 8 29 ) 30 31 // I2C pins 32 const ( 33 SDA_PIN = 26 34 SCL_PIN = 27 35 ) 36 37 // SPI pins 38 const ( 39 SPI0_SCK_PIN = 47 40 SPI0_MOSI_PIN = 45 41 SPI0_MISO_PIN = 46 42 )