Hi Melanie,
I'll give that a try. I did manage to make it function (hit the deadline!!) but it was very badly constructed programming.
Basically I added 1 to the value (x) for port 1
2 for port 2, 4 for port 3 etc. at the end I simply used Portb=x
This worked fine.
Still didnt solve the odd behaviour of rb1.
I did notice on the datasheet that rb1's output pin is internally different to rb0,2 & 3 though perhaps that has something to do with it.
Thanks anyway
Regards
Darryl..
Bookmarks