f1w - Find attached OneWire devices
This will scan the OneWire bus looking for attached devices. When a new device is found it will be setup and added as a new channel.
< Finding OneWire Devices....
< Found DS18B20 dev 1 type 40 [0x28]h Chan  Address [01:3C:CF]
< Found DS18B20 dev 2 type 40 [0x28]h Chan  Address [FF:3C:A4]
< Found 2 devices
Channels & Vars
Each of the devices found will be allocated the channels the require automatically. Their readings will appear in the gt command etc.
l1w - List devices on the OneWire bus
Purpose This command will list all of the devices on the OneWire bus.
> l1w < Chan Name Addr Hex Mode Type Units Raw Value Errors < 26 Temp 01:3C:CF 1 DS1820_Temp C 21 21.81 0 < 27 Temp FF:3C:A4 1 DS1820_Temp C 22 22.19 0
rst1w - Reset the devices on the OneWire bus
Purpose This command will reset all of the channels of devices on the OneWire bus.
Examples rst1w OneWire Chans Reset
s1woff - Disable the OneWire bus on port C pin 5
Turn off the OneWire us on port C5 and return it to it's default state.
s1won - Enable the OneWire bus on port C pin 5.
Setup pin C5 as the OneWire bus so you can connect 1wire devices to it.