mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
add Serial var to Adafruit Matrix Portal M4
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
// UART on the MatrixPortal M4
|
||||
var (
|
||||
Serial = UART1
|
||||
UART1 = &_UART1
|
||||
_UART1 = UART{
|
||||
Buffer: NewRingBuffer(),
|
||||
|
||||
Reference in New Issue
Block a user