turicas/DS1307

dht1307.cpp needs these modifications to remove wire library errors

Closed this issue · 0 comments

Having errors with arduino 1.6.9 with UNO. Wire.send and wire.receive functions not found.

dht1307.cpp needs these modifications to remove wire library errors:

"Wire.send" should be replaced with "Wire.write"
"Wire.receive" should be replaced with "Wire.read"

it ran flawlessly then.