Its working fine now after your suggestions.
You saved a lot of my time.
Just one more quick question though. What if I want HI for 100ms and LOW for 400ms. With the code below ...
According to the following code, I think PIN A1 should be HIGH for 262msecs and LOW for 102msecs. This is not what is happening. I tried changing the SET_TIMER1(X) number but it doesn't seem to change ...
According to the following code, I think PIN A1 should be HIGH for 262msecs and LOW for 102msecs. This is not what is happening. I tried changing the SET_TIMER1(X) number but it doesn't seem to change ...