Pin - is a variable/constant which specifies the input pin to use.
Read serial number from any Dallas/Maxim 1-wire device.
This command (read-one-wire-serial-number) reads the unique serial number from any Dallas 1-wire device (e.g DS18B20 digital temp sensor, DS2415 clock, or DS1990A iButton). If using an iButton device (e.g. DS1990A) this serial number is laser engraved on the casing of the iButton.
The readowsn command reads the serial number and then puts the family code in b6, the serial number in b7 to b12, and the checksum in b13 Note that you should not use variables b6 to b13 for other purposes in your program during a readowsn command.
This command cannot be used on the following pins due to silicon restrictions:
|08, 08M, 08M2
||3 = fixed input
||C.3 = fixed input
||C.4, C.5 = fixed input
|20M, 20M2, 20X2
||C.6 = fixed input