testing bugs

This commit is contained in:
Daniel Ledda
2020-10-31 15:27:33 +01:00
parent ee3440a994
commit dcae55f3ac

View File

@@ -48,7 +48,7 @@ func main() {
}
}
func readDataFromDHT(pin *gpio.Pin) ([4]byte, error) {
func readDataFromDHT(pin *gpio.Pin) ([5]byte, error) {
receivedInput := [5]byte{0, 0, 0, 0, 0}
// Setup
pin.PullUp()