03-24-2014 12:00 PM
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!
03-25-2014
04:19 PM
- last edited on
04-10-2024
02:16 PM
by
Content Cleaner
Luke,
I have a couple of questions about your setup:
>Are you using the NI LabVIEW Interface for Arduino Toolkit?
>What specific hardware do you have?
03-27-2014 08:02 AM
Hello Haley,
I am indeed using the toolkit. I am using an arduino mega 2560 as well. I am also using 4 of these: https://www.sparkfun.com/products/9056 to control my 8x8 array.
I want to control the digital inputs on the mux board with a rotating timer.
I have attached my program. Each group of four digital writes are intended to represent a multiplexer. I want to tie the respective pins from each mux together ie: all 4 pin 0s together and have them run on the same clock.
The cycle time isn't a priority at the moment.
Thank you so much for your help
03-28-2014
05:29 PM
- last edited on
04-10-2024
02:16 PM
by
Content Cleaner
Unfortunately, I do not have the Arduino Toolkti installed, but I suggest posting to the LabVIEW interface for Arduino community page. You will likely receive more bites posting there.