Inverted contacts
Posted: Wed Mar 26, 2025 1:48 pm
Hi there,
I have a PCB design (display) with 3 buttons.
We normally connect the PIC input-pin to ground with a resistor.
Than the button pulls up the input-pin to 5V when pressed.
In this design, the input-pins are high, connected to 5V.
When a button is pressed, the input-pin connects to ground.
In the flowcode program, I have made the buttons "Active low"
It are the buttons connected to C5, C6 and C7 input-pins.
When I test this in simulation, all seems to work well.
However, when in the PCB, the buttons are active and the software reacts.
Does anybody have tips on how to use these 'negative' buttons?
Please let me know, I'm getting stuck here.
The FC10 program that I'm testing with is included.
I have a PCB design (display) with 3 buttons.
We normally connect the PIC input-pin to ground with a resistor.
Than the button pulls up the input-pin to 5V when pressed.
In this design, the input-pins are high, connected to 5V.
When a button is pressed, the input-pin connects to ground.
In the flowcode program, I have made the buttons "Active low"
It are the buttons connected to C5, C6 and C7 input-pins.
When I test this in simulation, all seems to work well.
However, when in the PCB, the buttons are active and the software reacts.
Does anybody have tips on how to use these 'negative' buttons?
Please let me know, I'm getting stuck here.
The FC10 program that I'm testing with is included.