]> the.earth.li Git - temper-clone.git/commit
Add initial 1-Wire support and use it for the USB serial #
authorJonathan McDowell <noodles@earth.li>
Thu, 3 May 2018 21:26:36 +0000 (22:26 +0100)
committerJonathan McDowell <noodles@earth.li>
Thu, 3 May 2018 21:26:36 +0000 (22:26 +0100)
commit0949ba3935c9c2ec778adc94eb25cdd65e3cba4e
tree82a3b58f2a516cdf35c4403b812aa4d393180e29
parent3c727aad6ec52918a14a6550349a2e2ca35d0645
Add initial 1-Wire support and use it for the USB serial #

Introduce some basic bit-banging 1-Wire functions and use them to
detect if there is a 1-Wire device present and if so use its ROM ID
as the USB serial number.
Makefile
main.c
w1.c [new file with mode: 0644]
w1.h [new file with mode: 0644]