Same problem as https://github.com/orangepi-xunlong/wiringOP/issues/40 but for Orange Pi Zero 2.
The ping is set as OUT instead of being set with resistance.
The problem is not just the output of readall - the button itself randomly reads high/low.
$ sudo gpio mode 19 up
$ sudo gpio readall
+------+-----+----------+------+---+ Zero 2 +---+------+----------+-----+------+
| GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO |
+------+-----+----------+------+---+----++----+---+------+----------+-----+------+
| 262 | 19 | PI6 | OUT | 0 | 31 || 32 | | | | | |
+------+-----+----------+------+---+----++----+---+------+----------+-----+------+
| GPIO | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | GPIO |
+------+-----+----------+------+---+ Zero 2 +---+------+----------+-----+------+
Same problem as https://github.com/orangepi-xunlong/wiringOP/issues/40 but for Orange Pi Zero 2. The ping is set as
OUT
instead of being set with resistance. The problem is not just the output ofreadall
- the button itself randomly reads high/low.