This is the program I used;
main:
readadc 0,b0
readadc 1,b1
readadc 2,b2
readadc 3,b3
readadc 4,b4
readadc 5,b5
readadc 6,b6
readadc 7,b7
debug b0
debug b1
debug b2
debug b3
debug b4
debug b5
debug b6
debug b7
debug b8
debug b9
pause 500
goto main
When I put a voltage on each adc input, the voltage shows up in each byte as I expect.
What I did not expect is that when I put a voltage on adc 0, I get the reading in b0 AND in b8. The value is the same in both bytes.
Is it something I am doing wrong, or is this a bug?
Thanks for looking into it.
Ben.
main:
readadc 0,b0
readadc 1,b1
readadc 2,b2
readadc 3,b3
readadc 4,b4
readadc 5,b5
readadc 6,b6
readadc 7,b7
debug b0
debug b1
debug b2
debug b3
debug b4
debug b5
debug b6
debug b7
debug b8
debug b9
pause 500
goto main
When I put a voltage on each adc input, the voltage shows up in each byte as I expect.
What I did not expect is that when I put a voltage on adc 0, I get the reading in b0 AND in b8. The value is the same in both bytes.
Is it something I am doing wrong, or is this a bug?
Thanks for looking into it.
Ben.