Hi DiscoEd,
I'l betcha your config statements are off <b> OR </b> You have not disabled the analog functions.
Hmmm analog only on ports A & B
Give us a look at your code and let's see.
EDIT:
add this to your code:
TRISE.4 = 0 'Disable PSP
Edit2: I don't know what you do / do not know about PBP, Only commands like High /Low set up tris and ports automatically. You should set port latches first then Tris registers, like so
PortA = %00000000 'binary, easiest for me
PortB = 0 'decimal
PortC = $00 'hex
PortD = %00000000
TrisA = %00000000
TrisB = %00000000
TrisC = %00000000
TrisD = %00000000
TrisE.4 = 0 'disables parallel slave port on port d
If you know all this already I do not mean to offend, trying to help
Last edited by Archangel; - 28th December 2009 at 04:22.
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Bookmarks