diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-28 13:33:55 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-28 13:33:55 +0100 |
commit | 1f7cec944e9355860ebd264854015b2b9d561790 (patch) | |
tree | ccb9614326dae2ede6e81ac32ef1a4c117f70c01 /esp8266/scripts/_boot.py | |
parent | 38358a096dfdf2315f71ed6e26a697d143d635ca (diff) | |
download | micropython-1f7cec944e9355860ebd264854015b2b9d561790.tar.gz micropython-1f7cec944e9355860ebd264854015b2b9d561790.zip |
esp8266/scripts/onewire.py: Simplify and improve 1-wire driver.
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
Diffstat (limited to 'esp8266/scripts/_boot.py')
0 files changed, 0 insertions, 0 deletions