Hey guys, i need some advice, i have to simulate a Camshaft encoder signal which is 24 pulses plus 1 whit the 16f876, heres the signal on the scope:
I thought of using TMR0 interrupt and then in the ISR Change the conf. of PWM then going back to the main and so on, but I'm having all sort of problems whit the timing, like this:
I thought of using TMR0 interrupt and then in the ISR Change the conf. of PWM then going back to the main and so on, but I'm having all sort of problems whit the timing, like this:
I was wondering if you have any tips or ideas as to how to simulate this signal.
Thanks in advance.
Thanks in advance.