adt7410: add connection test and for that matter connection method

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram
2020-08-27 13:27:13 +02:00
committed by Ron Evans
parent ce9c93f228
commit 705f474897
4 changed files with 125 additions and 29 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
var (
i2c = &machine.I2C0
sensor = adt7410.New(i2c, 0)
sensor = adt7410.New(i2c)
)
func main() {