mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 19:44:00 +00:00
machine: split board definitions in separate files
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// +build avr,arduino
|
||||
|
||||
package machine
|
||||
|
||||
// LED on the Arduino
|
||||
const LED = 13
|
||||
|
||||
// ADC on the Arduino
|
||||
const (
|
||||
ADC0 = 0
|
||||
ADC1 = 1
|
||||
ADC2 = 2
|
||||
ADC3 = 3
|
||||
ADC4 = 4
|
||||
ADC5 = 5
|
||||
)
|
||||
Reference in New Issue
Block a user