mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 18:53:29 +00:00
export UART0 and pins
This commit is contained in:
@@ -43,6 +43,15 @@ const (
|
|||||||
USBCDC_DP_PIN = PA25
|
USBCDC_DP_PIN = PA25
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// UART0 pins
|
||||||
|
const (
|
||||||
|
UART0_TX_PIN = D1
|
||||||
|
UART0_RX_PIN = D0
|
||||||
|
)
|
||||||
|
|
||||||
|
// UART0 on the Feather M0.
|
||||||
|
var UART0 = &sercomUSART0
|
||||||
|
|
||||||
// UART1 pins
|
// UART1 pins
|
||||||
const (
|
const (
|
||||||
UART_TX_PIN = D10
|
UART_TX_PIN = D10
|
||||||
|
|||||||
Reference in New Issue
Block a user