yeah but.. Both code use the High LOW statement... one use the PIN alias, not the other.
I agree with the possibility of the analog stuff on every port, but.. it doesn't explain why the PIN alias don't work but the direct HIGH PORTB.x work ... at least it doesn't make sense to me...
OK at the begining is the TRIS is not set, the following lines..
LedA = 0
LedB = 0
LedC = 0
LedD = 0
won't do anything for sure unless LOW LEDx is used.
Also we don't know if external pull-up resistor are used.. so that may cause some oddity, and so on
Last edited by mister_e; - 12th July 2006 at 17:25.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks