summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/scripts/onewire.py
Commit message (Collapse)AuthorAge
* esp8266/modules: Split onewire.py into OneWire and DS18X20 driver.Damien George2016-08-29
| | | | | | | | | | The OneWire class is now in its own onewire.py module, and the temperature sensor class is in its own ds18x20.py module. The latter is renamed to DS18X20 to reflect the fact that it will support both the "S" and "B" variants of the device. These files are moved to the modules/ subdirectory to take advantage of frozen bytecode.
* esp8266/scripts/: Remove use of pin.PULL_NONE.Paul Sokolovsky2016-05-05
| | | | | This constant is no longer part of hardware API (replaced with just None), and is a default, so not needed in calls.
* esp8266/scripts/onewire.py: Simplify and improve 1-wire driver.Damien George2016-04-28
| | | | | | | | | | | 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
* esp8266: Move onewire.py, neopixel.py drivers from tests/ to scripts/.Damien George2016-04-28