Ok, I think I got it up and running. I now need to write some code to transform a value of desire to 16 parallel bits. I have enough digital output pin available so I would like to use just the 16 output pins for the data.
Any suggestions?
I have looked at bitRead. That seems to work but puts out a value of 1 or 0 while ideally, I want a LOW or HIGH.
for instance, for bit 0, I would like to output;
I did not expect this to work but it does;
- digitalWrite(2,bitRead(8,3));
delay(2000);
digitalWrite(2,bitRead(8,2));
delay(2000);