summaryrefslogtreecommitdiff
path: root/drivers/onewire
AgeCommit message (Collapse)Author
2018-02-20Delete a bunch of docs, drivers and examples not relevant to CircuitPython.Scott Shawcroft
This fixes #345 and fixes #215.
2017-06-26drivers/onewire: Enable pull-up when init'ing the 1-wire pin.Damien George
A previous version of the 1-wire driver (which was recently replaced by the current one) had this behaviour and it allows to create a 1-wire bus without any external pull-up resistors.
2017-06-22drivers/onewire: Move onewire.py, ds18x20.py from esp8266 to drivers.Damien George
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).
2017-05-21drivers: Replace deprecated Pin.high()/low() methods with .__call__(1/0).Paul Sokolovsky
2017-01-08drivers/onewire/ds18x20: Fix negative temperature calc for DS18B20.syndycat
2017-01-03drivers/onewire: Enable pull up on data pin.Dave Hylands
The driver seems to be be enabling the pullup resistor in most places, but not this one. Making this one little change allows onewire devices to be used with no external pullup resistor.
2015-07-30drivers/onewire: Fix ds18x20.read_temp so it works when no rom given.Damien George
2015-03-03drivers: Add onewire driver and ds18x20 temperature sensor driver.Damien George