finding a bug
This commit is contained in:
2
main.go
2
main.go
@@ -66,6 +66,8 @@ func readDataFromDHTTest(pin *gpio.Pin) ([5]byte, error) {
|
|||||||
edgeChangeTimestamps = append(edgeChangeTimestamps, time.Now().UnixNano())
|
edgeChangeTimestamps = append(edgeChangeTimestamps, time.Now().UnixNano())
|
||||||
})
|
})
|
||||||
|
|
||||||
|
time.Sleep(time.Second)
|
||||||
|
|
||||||
fmt.Println(edgeChangeTimestamps)
|
fmt.Println(edgeChangeTimestamps)
|
||||||
|
|
||||||
return [5]byte{0, 0, 0, 0, 0}, nil
|
return [5]byte{0, 0, 0, 0, 0}, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user