Hi All,

Just spent over three hours trying to find a bug which doesn't appear to be a bug !!!

I have a couple of include files that I found through this forum that are used to bitbang data to some Neo Pixels on Port B.5 and it works as it should.

I have another routine that I wrote to send data to some APA102 LEDs and that also work on the PIC that I tested it on and on the one in my current project using Shiftout on A.6 and A.7

Heres the rub.... If I run the APA102 subroutine the NeoPixel one wont work. By commenting out various lines I proved it was the Shiftout command in the APA102 routine that was breaking the NeoPixel routine.

I changed the pins used by the APA102 routine from A6/A.7 to E0 and E1 and everything works just fine.

Can anyone offer a suggestion as to why that should be given that the two were running on different ports ?