summaryrefslogtreecommitdiff
path: root/esp8266/scripts/onewire.py
AgeCommit message (Collapse)Author
2016-05-05esp8266/scripts/: Remove use of pin.PULL_NONE.Paul Sokolovsky
This constant is no longer part of hardware API (replaced with just None), and is a default, so not needed in calls.
2016-04-28esp8266/scripts/onewire.py: Simplify and improve 1-wire driver.Damien George
Changes are: - added OneWireError exception and used where errors can occur - renamed read/write functions to use same names as C _onewire funcs - read_bytes is now read, write_bytes is now write - add ability to read/write DS18B20 scratch pad - rename start_measure to convert_temp (since that's what it does) - rename get_temp to read_temp (consistency with other read names) - removed test function
2016-04-28esp8266: Move onewire.py, neopixel.py drivers from tests/ to scripts/.Damien George