Hi Nigel,
I've checked your code (yes, I shortened the transcribed snipet on purpose) and I can not find a reason for repeating the clearing of the output bit (since you are doing it already when starting the loop).
Could you please elaborate? Gracias
I've checked your code (yes, I shortened the transcribed snipet on purpose) and I can not find a reason for repeating the clearing of the output bit (since you are doing it already when starting the loop).
Code:
NO_pulse
MOVWF count ; Doesn't pulse the IR led
irloop2
BCF IR_PORT, IR_Out
NOP ;
NOP ;
......
NOP ;
NOP ;
BCF IR_PORT, IR_Out
NOP ;
NOP ;
Could you please elaborate? Gracias