nodemcu-firmware/app/driver
Nick Andrew 5dee9d03fb Fix bus power problems in onewire
See #676

The 1-wire pin was being set back to output low, which reset all 1-wire
devices on the bus.

Change the power == 0 behaviour to tri-state the pin, as I believe was
intended. Make this not the default, because the bus should be high
when a bit/byte is not being read/written. A low bus for a long time
is a reset condition.

Signed-off-by: Nick Andrew <nick@nick-andrew.net>
2015-10-04 17:25:11 +11:00
..
Makefile source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
gpio16.c source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
i2c_master.c migrate to sdk 0.9.5 release version 2015-01-24 23:36:04 +08:00
key.c source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
onewire.c Fix bus power problems in onewire 2015-10-04 17:25:11 +11:00
pwm.c Fix PWM init bug, set all initial duty to 0. 2015-05-01 18:35:30 +08:00
readline.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00
spi.c fix #175 2015-02-05 01:42:14 +08:00
uart.c Updated SDK to v0.9.5 and optimized memory. 2015-01-05 10:09:51 +08:00