// Bus.Search may be implemented using onewire.Search if the bus implements // the BusSearcher interface or it may have a custom implementation, for // example a Linux sysfs implementation should return the list of devices // already discovered by the driver. // If an error occurs during the search the already-discovered devices are // returned with the error. Tx(w, r byte, power Pullup) error // Search performs a "search" cycle on the 1-wire bus and returns the // addresses of all devices on the bus if alarmOnly is false and of all // devices in alarm state if alarmOnly is true. // A strong pull-up is typically required to power temperature conversion or // EEPROM writes. ![]() String() string // Tx performs a bus transaction, sending and receiving bytes, and // ending by pulling the bus high either weakly or strongly depending // on the value of power.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |