I am creating a low resolution machine vision device and I am using 4 analog to digital multiplexers to control my sensors.
I want to send a timed alternating binary number to the digital pins on the multiplexer but can't figure out how.
Essentially, I am trying to generate an 16 bit counter and send the status of each individual bit to a different digital pin on the arduino.
Can someone please help?
My code isn't very intuitive at the moment but I can post it if anyone wants to have a look.
Thank you!