![]() ![]() This means that any libraries built on top of the OneWire library must either have a OneWire member variable or having an instance of the OneWire object passed in as a parameter. ![]() With this setup, the pin must be declared when declaring the 1-Wire object. It takes one parameter which is the pin number the 1-Wire device is connected to. The current version of the Arduino OneWire library has only one constructor. I ported the code from the OneWireEEPROM library on mbed so that I could use the existing Arduino OneWire library.
0 Comments
Leave a Reply. |