ds18x20 driver, updated with alarm/resolution support

Discussion about programs, libraries and tools that work with MicroPython. Mostly these are provided by a third party.
Target audience: All users and developers of MicroPython.
Post Reply
apollo2mond
Posts: 8
Joined: Wed May 29, 2019 6:17 pm

ds18x20 driver, updated with alarm/resolution support

Post by apollo2mond » Tue Apr 07, 2020 6:43 pm

Hi all.
I have updated the ds18x20 one wire drivers and added support for

- any resolution (12-9bit)
- read/write low/high alarm trigger, scanning for alarm
- some smaller improvements

Please have a look on the sources, use it and if you want come back with feedback/hints/ideas!
I'm also thinking about a pull request for the mpy codebase after some further testing.


thanks, dk4ug
Attachments
onewire.rar
(2.12 KiB) Downloaded 231 times

uCTRL
Posts: 47
Joined: Fri Oct 12, 2018 11:50 pm

Re: ds18x20 driver, updated with alarm/resolution support

Post by uCTRL » Sat Aug 08, 2020 12:11 am

read_temp for ds18b20 returns only integer value?

Post Reply