mirror of
https://github.com/PaulStoffregen/OneWire.git
synced 2026-07-28 04:07:58 +00:00
+1
-1
@@ -144,7 +144,7 @@ sample code bearing this copyright.
|
||||
#include "util/OneWire_direct_gpio.h"
|
||||
|
||||
|
||||
OneWire::OneWire(uint8_t pin)
|
||||
void OneWire::begin(uint8_t pin)
|
||||
{
|
||||
pinMode(pin, INPUT);
|
||||
bitmask = PIN_TO_BITMASK(pin);
|
||||
|
||||
Reference in New Issue
Block a user