Hi,
I am working with a PIC16F1782 and use the following code:
set_bit(portb, 4); set_bit(portb, 5);
This results in bit 4 not being set, however if add a nop it works. I have seen this more.... any ideas?
set_bit(portb, 4); nop(); set_bit(portb, 5);
Thanks,