iterate over bits on one pin?

I'm not sure what my mechanic has to do with anything. But I'm glad you took the time to help.

Jimmy