i'm not sure to follow you then... let's see if the following lines could give you some lights
Code:'GPIO Bits 76543210 TRISIO = %00001010 ' xx------- Not implemented, don't care ' --0------ GP5 = output ' ---0----- GP4 = Output ' ----1---- GP3 = Input, Read only bit, input only, regardless to what you write here ' -----0--- GP2 = Output ' ------1-- GP1 = input ' -------0- GP0 = Output
Bookmarks