is a GPIO34<Input<Floating>>, but I tried reading from it without calling into_floating_input() and got 0. into_floating_input() fixed it. This may also apply to other pins as well; I ran into these because they don't have pullups/pulldowns, so I have to use them as floating pins anyway.
Addressed by #36. Chosen to make all pin types Unknown by default: the state can change depending on the bootloader etc, so best not to trust on the defaults.
is a
GPIO34<Input<Floating>>
, but I tried reading from it without callinginto_floating_input()
and got 0.into_floating_input()
fixed it. This may also apply to other pins as well; I ran into these because they don't have pullups/pulldowns, so I have to use them as floating pins anyway.