Hello Unregistered ,
Originally Posted by Melanie It would be better like so... Code: meten: ADCON0=%01000001 ' Set Fosc, Select Channel, Turn-On A/D Pauseus 50 ' Wait for channel to setup ADCON0.2 = 1 ' Start conversion While ADCON0.2=1:Wend ' Wait for conversion O.K. Melanie, nice programming, and it works o.k. thanks for the tip. Douwe.
meten: ADCON0=%01000001 ' Set Fosc, Select Channel, Turn-On A/D Pauseus 50 ' Wait for channel to setup ADCON0.2 = 1 ' Start conversion While ADCON0.2=1:Wend ' Wait for conversion
Forum Rules
Bookmarks