mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-11 06:23:39 +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
|
// UART on the MatrixPortal M4
|
||||||
var (
|
var (
|
||||||
|
Serial = UART1
|
||||||
UART1 = &_UART1
|
UART1 = &_UART1
|
||||||
_UART1 = UART{
|
_UART1 = UART{
|
||||||
Buffer: NewRingBuffer(),
|
Buffer: NewRingBuffer(),
|
||||||
|
|||||||
Reference in New Issue
Block a user