diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-22 16:28:07 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-22 16:28:07 +1000 |
commit | a065d786753b83ab92873b90d8d61d9fe5639fdd (patch) | |
tree | 3c60a4ec0f7064d9488667f1296b30cbabe9432a /esp8266/lexerstr32.c | |
parent | b19138e82e32c512a8b9253519526ec1dc786378 (diff) | |
download | micropython-a065d786753b83ab92873b90d8d61d9fe5639fdd.tar.gz micropython-a065d786753b83ab92873b90d8d61d9fe5639fdd.zip |
drivers/onewire: Move onewire.py, ds18x20.py from esp8266 to drivers.
These drivers can now be used by any port (so long as that port has the
_onewire driver from extmod/modonewire.c).
These drivers replace the existing 1-wire and DS18X20 drivers in the
drivers/onewire directory. The existing ones were pyboard-specific and
not very efficient nor minimal (although the 1-wire driver was written in
pure Python it only worked at large enough CPU frequency).
This commit brings backwards incompatible API changes to the existing
1-wire drivers. User code should be converted to use the new drivers, or
check out the old version of the code and keep a local copy (it should
continue to work unchanged).
Diffstat (limited to 'esp8266/lexerstr32.c')
0 files changed, 0 insertions, 0 deletions