Hi,
Here's a simple idea if you are looking for alternatives...
> I'm trying to read an analog input ranging from 0 to 2.5 volts,
> convert it to a digital signal, and read the bits outputted through
> hyperterminal (for now...).
You can just load StickOS onto the QE and then log into it with Hyper Terminal (9600/8/n) and write a program like:
10 dim a as pin pta0 for analog input
20 while 1 do
30 print a
40 sleep 500 ms
50 endwhile
And then save and run it, and the number of millivolts on pin pta0 will be printed to the Hyper Terminal twice a second. You can then set the program to autorun and it will do that whenever the MCU is powered up.
When I run it, I see my pot (on the DEMOQE board), like:
> run
2133
2132
2135
2133
<Ctrl-C>
STOP at line 40!
>
Press <Ctrl-C> to stop the program (to edit it, debug it, etc.).
If you want downloads of StickOS, for the 51QE128 or 9S08QE128, they are at:
http://www.cpustick.com/downloads.htm
You can find full documentation there, as well.
-- Rich