You are probably on the money but very strange indeed, I'm happy to be declared mad if I can solve this
I will post the code but don't think it is code related as simply reading the state of RB4. I don't know exactly how the LED's are being controlled other than from reading the basic circuit diagram available and metering of the circuit (I know the car diagrams are not very accurate because as an example the switches are all show as straight push to make but one actually has a 1K resistor is series). I've played with various values of resistors and need >1M to get the results expected. What I don't have is a resistor pulled down to ground and will go and try what you suggest now.
There is definitely something different with this one LED because the other 5 read fine and I swapped the inputs and the problem moved with the LED which is why I don't think it is code or RB4 related.
Thanks again and will report back soon... I will probably need to test in the morning as I need to run the car to test properly and my daughter is in bed.





Bookmarks