mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-13 07:23:39 +00:00
atmega2560: support UART1-3
+ example for uart
This commit is contained in:
@@ -9,6 +9,9 @@ import (
|
||||
)
|
||||
|
||||
const irq_USART0_RX = avr.IRQ_USART0_RX
|
||||
const irq_USART1_RX = avr.IRQ_USART1_RX
|
||||
const irq_USART2_RX = avr.IRQ_USART2_RX
|
||||
const irq_USART3_RX = avr.IRQ_USART3_RX
|
||||
|
||||
const (
|
||||
portA Pin = iota * 8
|
||||
|
||||
Reference in New Issue
Block a user