mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +00:00
nrf52: implement ADC and PWM interfaces
Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
committed by
Ayke van Laethem
parent
3e98fbcdc8
commit
8f7b7e6ee3
@@ -25,3 +25,13 @@ const (
|
||||
UART_TX_PIN = 6
|
||||
UART_RX_PIN = 8
|
||||
)
|
||||
|
||||
// ADC pins
|
||||
const (
|
||||
ADC0 = 3
|
||||
ADC1 = 4
|
||||
ADC2 = 28
|
||||
ADC3 = 29
|
||||
ADC4 = 30
|
||||
ADC5 = 31
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user