
Originally Posted by
aratti
Code:
TRISB = %11110000 ‘B.0 – B.3 inputs, rest outputs.
Your TrisB setting is wrong. To have B0 - B3 as inputs then the TrisB should be the other way around
TrisB = %00001111
Cheers
Al.
Al nailed it, the way "I" keep those straight is 0 looks like the letter O for output
and 1 looks like the uppercase letter I for Input, works for me anyway.
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