> work correctly but it look weird, so would it be better to leave 1 > as high, and connect to LEDs to ground? If i don't change > anything it works, but instead of turning LEDs on, the default is > all 4 on, and turns 1 off in Doesn't really make a lot of difference. The PIC pins can sink or source about the same current. You might find it easier to work with non-inverted logic, ie BSF for on, BCF for off, in which case the LEDs can go to ground and you drive them TRIS registers set ports as inputs after reset. I should think an LED may be enough of a pull-down that you may not see a very brief flash before you explicitly set TRIS, although I've never actually looked -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics