tinygo/src/machine/serial-uart.go
2022-12-19 23:20:11 +01:00

10 строки
213 Б
Go

//go:build baremetal && serial.uart
package machine
// Serial is implemented via the default (usually the first) UART on the chip.
var Serial = DefaultUART
func InitSerial() {
Serial.Configure(UARTConfig{})
}