In CASE this helps...
Hi mystified,

Originally Posted by
mystified
I thank you of your time
The code
define adc_bits 10 'adc settings
define adc_clock 3 ' adc setting
define adc_sampleus 50 'adc setting
should set up the a the analog to digital converters (adc)
the output from the adc converter should be 0 to 1023
but i get just 0 to 3
I will work on the sound after I can get the 0 to 1023to work.
Take a look at this informative thread by Melanie.

Originally Posted by
Melanie
... Watch the SPELLING of your DEFINEs
Is your program not working as expected? ...
Do you have any DEFINEs in your program? ...
http://www.picbasic.co.uk/forum/showthread.php?t=558
-Adam-
Ohm it's not just a good idea... it's the LAW !
Bookmarks