http://www.melabs.com/resources/index.htm#Manuals
http://melabs.com/products/pbpis.htm
Now I see a mess up in my last codeI'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.
should beCode:GPIO = %11001111 GPIO = %00010000
I think.....Code:TRISIO = %11001111 GPIO = %00010000
Sorry about that.
Bookmarks