mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 14:33:41 +00:00
69f2cec045
I'm afraid I broke this while merging the I2S changes...
19 lines
248 B
Go
19 lines
248 B
Go
// +build avr,arduino
|
|
|
|
package machine
|
|
|
|
const CPU_FREQUENCY = 16000000
|
|
|
|
// LED on the Arduino
|
|
const LED = 13
|
|
|
|
// ADC on the Arduino
|
|
const (
|
|
ADC0 = 0
|
|
ADC1 = 1
|
|
ADC2 = 2
|
|
ADC3 = 3
|
|
ADC4 = 4 // Used by TWI for SDA
|
|
ADC5 = 5 // Used by TWI for SCL
|
|
)
|