Ok, so if I swap one of the segments with one of the switchs it should work? say for example ra7 swapped for ra5 and set trisa as:

trisa=%00100000

Do I need to change something else?


Thanks