Hi, well, the title say all. I´m trying to do an A/D converter, but i want that the digital conversion be in the digitals pins 2 to 11 in the binary form
For example the minor value 0 is showed in these array of pins
0000000000
if is the max value (1023) is showed
1111111111
i know that the analog pins read 0 to 5V and the max value is 1023=5V
The case is, I want the analog reading be displayed in binary form in an array of 10-bit in the digital pins
I did some thing almost exactly the same as this a while back. The only difference was that I divided it by 4 and then wrote its value to 8 LEDs. It was pretty cool actually. But the bitRead function is the way to go for sure