Files
drivers/pin.go
2025-07-06 11:41:03 +02:00

11 lines
172 B
Go

package drivers
// Pin is a digital pin interface. It is notably implemented by the
// machine.Pin type.
type Pin interface {
Get() bool
High()
Low()
Set(high bool)
}