That logic probe is not guaranteed to work - it can only achieve those three different indications by drawing some current from the circuit and so potentially affecting its state, but in this case I'm wondering if you still have the on-chip pull-down resistor enabled inside the Pico. They are enabled by default at power-up (so your pins don't start floating around and turning things on before software has had a chance to start up and set the pin states).Unfortunately I'm only seeing the LEDs for HI and LO light up on the logic probe. When I enter the third state (set pindirs 0), the LO LED still remains lit.
Shouldn't I see the floating state on the logic probe, same as I would on the Arduino? I'm just wondering if I'm struggling with the API here and I've made a mistake in the code somewhere?
Code:
gpio_disable_pulls(int gpio_number);
Statistics: Posted by arg001 — Sun Oct 13, 2024 9:26 am