Hi all,
I need a bit of advice on the best and most efficient way to read 10 I/O pins. Main will be constantly scanning the pins and anytime one of the 10 pins goes logic high it will be required to be read. I have thought of having 10 IF statements in main but i dont think this is the best way. Is there another way other than using IF and also a way of prioritising pin reading?
Look forward to your help.
Thanks,
Rocketman46