on a pc?
? epp. loaded question! that is fairly hard, normaly I would use an mbed for such stuff(is a chip from ARM, nasty to program, well it takes c, but needs to be interfaced in assembler most of the time. but has open source stuff for talking to pc's)
there is issues with what terminal your running, teraterm is cool, but bug city... don't let the micro reset, ever! its restart pc time.
putty I never use.
8 segment bar graph displays are nicer,
you need to map the binary interger to the display.
c code for an LED + resistor wired to ground and a output pin. frequency can be adjusted. assumes a2dval is called and all ints declared properly.
####to follow#### brains fried, its nearly tomorrow, and I will probably make a mistake.
assembler is easy.
left shift a2dval
take overflow/carry and store at pin address.(micro dependant, tell me the micro, prefferably send data sheet and I can work it out)
wait (some number of cycles)
repeat 8 times in total.
add sequence together and hey presto. a value!
left shifts send the bits one to the left. and carry is the bit that comes out the end. flash that and it gives you a value
you may want to process
leave you to work out the last 2 representations. hint, look at the scientifc calculator in windows, and google the stuff on it! dec, bin, ect.