servo.c
Hi, I am trying to fully understand the servo code and this part of pulse_outCtr I do not understand.
when would the pin's output be on at the beginning of a new pulse and what would these new values mean for the pulse?
Thanks.
int state = get_output(pin);
if(state == 1)
{
phsVal = -phsVal;
phs = -1;
frq = -1;
}
when would the pin's output be on at the beginning of a new pulse and what would these new values mean for the pulse?
Thanks.

Comments
I thought I'd give this a bump to see if anyone else can help.
If it's alright with surixurient, a moderator might want to move this to the Propeller C forum.