I am happy to be a member of that forum!!!!

I have a SIMPLE question.
I need to look at the 10 pins (portb.0-portb.7,porta.0,porta.1) in a loop and find the first pin that set 1.I need the simplest code to check that ports.

Thanks
Nikos