Open eleimt opened 23 hours ago
You are leaving out a lot of code. What's this Config
struct? What's this Uart
struct?
Note that you probably don't want to use UART on the pico, most people use the default serial output over USB (which is USB-CDC, not UART), and is available from machine.Serial
.
@aykevl It's just structure, example:
type Config struct {
Receiver Uart
Transmitter Uart
}
type Uart struct {
Uart *machine.UART
Tx machine.Pin
Rx machine.Pin
BaudRate uint
}
For run tests I using USB. Without mapping Pins tests works normal.
Hello! I tried run simple test
but get error
I have
config.go
fileHelp me please...