http://www.melabs.com/resources/index.htm#Manuals
http://melabs.com/products/pbpis.htm
I'm trying to get an understanding of GPIO and the register TRISIO. If you set a TRISIO bit low you make the corresponding GPIO pin an output (I think) Except GP3 which is always an INPUT.
Now I see a mess up in my last code
Code:
    GPIO = %11001111
    GPIO = %00010000
should be
Code:
    TRISIO = %11001111
    GPIO = %00010000
I think.....
Sorry about that.