Is there any way to....
Posted: Mon Nov 07, 2011 12:52 pm
I have some Flowcode that works perfectly getting a variable when the 4 input buttons are set to Active High but the PCB is designed for Active Low 
Which means instead of reading 0x0 when no button is pressed it actually reads 0xF - I have logic probed the PCB and all the ports are high as they would be.
Does anyone know if there is a simple way to "reverse" the reading so it acts as if it's Active High as per the Flowchart?
I do not want to set up a IF it = x THEN let it = y because of the number of combinations and the hex is confusing me regarding the calculations required later!
Any ideas please - I'm not sure what I'm actually asking for!!!!
Which means instead of reading 0x0 when no button is pressed it actually reads 0xF - I have logic probed the PCB and all the ports are high as they would be.
Does anyone know if there is a simple way to "reverse" the reading so it acts as if it's Active High as per the Flowchart?
I do not want to set up a IF it = x THEN let it = y because of the number of combinations and the hex is confusing me regarding the calculations required later!
Any ideas please - I'm not sure what I'm actually asking for!!!!