Will do the same as Darrel's suggestion and thisCode:ANSEL=%00000000 CMCON0=%00000111
http://www.picbasic.co.uk/forum/showthread.php?t=561
plus the data sheet will actually help you learn why.![]()
Will do the same as Darrel's suggestion and thisCode:ANSEL=%00000000 CMCON0=%00000111
http://www.picbasic.co.uk/forum/showthread.php?t=561
plus the data sheet will actually help you learn why.![]()
Dave
Always wear safety glasses while programming.
Sure,
But if you run ALLDIGITAL first, then you know where to look in the datasheets, because it's already told you what settings you need to use.
If you want to learn, look them up.
People never find the analog registers they need to set by looking in the datasheet first.
![]()
DT
I hope not ... Stamp's don't bring back any memories of "Easy" for me.
Probably 12-15, but I've never really counted.What is the maximum amount of includes you have used in a program?![]()
90% of my programs only have 2 includes.
care to guess which ones?
<br>
DT
Care if I take a shot? Must be DT_ints and PBP_reenter.Originally Posted by DT
![]()
Ding Ding Ding ... Give that man a cigar!
If you smoke cigars
<br>
DT
Thanks for the replies!
Including "ALLDIGITAL.pbp" didn't affect anything (as far as I can tell). Attempting to set those registers simply gives me a couple of compiler errors about an "undefined symbol." Charle's example, however, did the trick. Any idea why the other suggestions didn't work?
Bookmarks