Versions in this module Expand all Collapse all v1 v1.0.1 Mar 21, 2024 v1.0.0 Mar 20, 2024 Changes in this version + var Logger = slog.Default() + func FindPorts() []string + type Dummy struct + Outputters []outputters.Outputter + func (s *Dummy) Configured() bool + func (s *Dummy) SendPositions(c <-chan xplane.Position) error + func (s *Dummy) SetBaud(baud int) + func (s *Dummy) SetPort(port string) + type Sender interface + Configured func() bool + SendPositions func(c <-chan xplane.Position, feedback chan<- string) error + SetBaud func(int) + SetPort func(string) + type Serial struct + Outputters []outputters.Outputter + func NewSerial(outputters []outputters.Outputter) *Serial + func (s *Serial) Configured() bool + func (s *Serial) Mode() serial.Mode + func (s *Serial) SendPositions(c <-chan xplane.Position, feedback chan<- string) error + func (s *Serial) SetBaud(baud int) + func (s *Serial) SetDataBits(dataBits int) + func (s *Serial) SetParity(parity serial.Parity) + func (s *Serial) SetPort(port string) + func (s *Serial) SetStopBits(stopBits serial.StopBits)