I wonder what I'm missing with the following issue:
I'm testing all pins to connect multiple push buttons to the PI. My code is working great for pins GPIO2 till GPIO8 but starting from pin GPIO9 (and all pins following), line.getValue() randomly seems to return 0 and 1.
In Python reading (for example) pin 9 is working as expected.
I'm on a Raspberry PI 5 and using global.chip = new Chip(4);
Any help or direction is appreciated. Thanks.
I wonder what I'm missing with the following issue:
I'm testing all pins to connect multiple push buttons to the PI. My code is working great for pins GPIO2 till GPIO8 but starting from pin GPIO9 (and all pins following),
line.getValue()randomly seems to return 0 and 1.In Python reading (for example) pin 9 is working as expected.
I'm on a Raspberry PI 5 and using
global.chip = new Chip(4);Any help or direction is appreciated. Thanks.