mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 19:44:00 +00:00
machine/nrf52840: add support for ADC and PWM interfaces
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
@@ -28,6 +28,16 @@ const (
|
||||
UART_RX_PIN = 8
|
||||
)
|
||||
|
||||
// ADC pins
|
||||
const (
|
||||
ADC0 = 3
|
||||
ADC1 = 4
|
||||
ADC2 = 28
|
||||
ADC3 = 29
|
||||
ADC4 = 30
|
||||
ADC5 = 31
|
||||
)
|
||||
|
||||
// I2C pins
|
||||
const (
|
||||
SDA_PIN = 26 // P0.26
|
||||
|
||||
Reference in New Issue
Block a user