PORTB will not initialize LOW, only HIGH?

BMorse

Joined Sep 26, 2009
2,675
wouldn't it be easier to figure out the op's problem if the op posted a circuit schematic and the actual code he is working off of? Instead of some code snippet??? You guys can sit here and bicker about what each compiler does, but all it is accomplishing is NOTHING! For all you know the OP doesn't have it wired right or, he has something else in his code that is messing everything up... So I would suggest like we always suggest to all who posts a problem to "Post all off your code and a circuit schematic".

I do a lot of computer work for people and I find that the part that causes the most problems is in between the keyboard and the chair. :)


and even in MPASM, you can ignore the Bank Switching.... I always turn off error #302 in the MPASM compiler and I have never worried about bank switching when turning on/off a bit on a port...... only when configuring registers....
 
Top