You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would simplify the usage in custom applications. Currently the application have to copy the interface, e.g. like so:
// onewireConnector lets adaptors provide the drivers to get access to the 1-wire devices on platforms.
// TODO: can be removed if gobot is fixed
type onewireConnector interface {
// GetOneWireConnection returns a connection to a 1-wire device with family code and serial number.
GetOneWireConnection(familyCode byte, serialNumber uint64) (onewire.Connection, error)
}
The text was updated successfully, but these errors were encountered:
This would simplify the usage in custom applications. Currently the application have to copy the interface, e.g. like so:
The text was updated successfully, but these errors were encountered: