mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 16:03:41 +00:00
export UART0 and pins
This commit is contained in:
committed by
deadprogram
parent
9215aa7ece
commit
8ef4af45d7
@@ -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