Bruce,
This code did the trick. Thing is, it was no different than my previous attempts except for using B4-B7 instead of B0-B3. There must be a trick I'm missing somewhere.
Anyhow it works (woo hoo!) and now I'm trying to figure out what the ADC is giving me.
I'm assuming my 10-bit ADC result is a proportion as 1024 is to 5 volts. So, is there an easy way to display the decimal voltage value (to 2 places), or do I need to write a "subtract and conquer" routine to convert to decimal?
Thanks,
Jeff
Bookmarks