mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-20 04:19:04 +00:00
add reelboard pins for the epaper display and the reset pin (#429)
* machine/reelboard: added descriptive pin names for the epaper display and the reset pin
This commit is contained in:
committed by
Ron Evans
parent
a328bbdff3
commit
d34bb7e708
@@ -6,15 +6,22 @@ const HasLowFrequencyCrystal = true
|
|||||||
|
|
||||||
// LEDs on the reel board
|
// LEDs on the reel board
|
||||||
const (
|
const (
|
||||||
LED Pin = LED1
|
LED Pin = LED1
|
||||||
LED1 Pin = LED_YELLOW
|
LED1 Pin = LED_YELLOW
|
||||||
LED2 Pin = LED_RED
|
LED2 Pin = LED_RED
|
||||||
LED3 Pin = LED_GREEN
|
LED3 Pin = LED_GREEN
|
||||||
LED4 Pin = LED_BLUE
|
LED4 Pin = LED_BLUE
|
||||||
LED_RED Pin = 11
|
LED_RED Pin = 11
|
||||||
LED_GREEN Pin = 12
|
LED_GREEN Pin = 12
|
||||||
LED_BLUE Pin = 41
|
LED_BLUE Pin = 41
|
||||||
LED_YELLOW Pin = 13
|
LED_YELLOW Pin = 13
|
||||||
|
EPD_BUSY_PIN Pin = 14
|
||||||
|
EPD_RESET_PIN Pin = 15
|
||||||
|
EPD_DC_PIN Pin = 16
|
||||||
|
EPD_CS_PIN Pin = 17
|
||||||
|
EPD_SCK_PIN Pin = 19
|
||||||
|
EPD_MOSI_PIN Pin = 20
|
||||||
|
POWER_SUPPLY_PIN Pin = 32
|
||||||
)
|
)
|
||||||
|
|
||||||
// User "a" button on the reel board
|
// User "a" button on the reel board
|
||||||
|
|||||||
Reference in New Issue
Block a user