CONFIG 1WIRE

Top  Previous  Next

Action

Configure the pin to use for 1WIRE statements.

 

 

Syntax

CONFIG  1WIRE = pin

 

 

Remarks

pin

The port pin to use such as P1.0

 

 

See also

1WRESET , 1WREAD , 1WWRITE

 

 

Example

Config 1WIRE = P1.0        'P1.0 is used for the 1-wire bus

1WRESET                         'reset the bus