Hi mystified,
Quote Originally Posted by mystified View Post
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.

Quote Originally Posted by Melanie View Post
... 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-