Hello Ace,
I changed (tried to) the channel but not the comment .
Puzzling together the analog thing is difficult for me as its the first time.
Did that with a 12F675 worked great.
You were second in the following "code saving contest": http://www.picbasic.co.uk/forum/show...ghlight=12F675
Now I try to save one simple 12F675 and Iīm in trouble again.
No, What you told below isnīt clear enough for me although it shows the typical "Newbie defines rubbish"
in this thread:http://www.picbasic.co.uk/forum/show...ht=16f88+adcon
Melanie tells us that the adcon thingy affects only Porta.
But the data sheet page 114 tells us (you, not me) how to set the adcon0 register bit to select channel 6 = RB7.
So, thats REALLY irritating to me.
so I hope thats clear enough for you.
I know Iīm juggling bits like shooting in the dark but its always the same:
search a code that works for me and then modifiing.
All codes used RA ports as analog input. Canīt use that.
Bookmarks