PaulStoffregen / OneWire

Library for Dallas/Maxim 1-Wire Chips
http://www.pjrc.com/teensy/td_libs_OneWire.html
579 stars 382 forks source link

Change pin in a setup() or loop()? #45

Closed renat2985 closed 6 years ago

renat2985 commented 6 years ago

Please show me example, how I can change pin in a setup() or loop()? Is this possible?

OneWire  myDS18B20 = oneWire();
void setup() {
 myDS18B20.changePin(pin);
}
PaulStoffregen commented 6 years ago

Github issues are not the place for project or support questions.

Ask on the Arduino forum.