Using 16F876
It has 10 bit A/D conversion
But when reading the input, 256 is the highest value.
Is this a limitation of GC basic, or a chip data is not correct?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Using 16F876
It has 10 bit A/D conversion
But when reading the input, 256 is the highest value.
Is this a limitation of GC basic, or a chip data is not correct?
Are you doing a 10 bit read into a word variable.
Should be variable=readad10(anchannel).
Didn't know. that. Thanks!