Well we differ on what we see when looking at the standard signal so I will leave that alone
I measure 1 signal pulse off one channel every 20ms no matter how long the pulse width is.
So say we have a 1.5ms HIGH pulse width. we get a rising edge and high for 1.5ms then for 18.5 its low. then repeats. If the high pulse is 1ms then its low for 19 so the new rising edge is always at the 20ms mark. that make sense? Talking single channel here no reset pulse when channels are done.
The new signal im messing with I can get a pulse that repeats between 5ms and 20ms depending on how long the pulse width is... and the pulse is low.
Hard to explain.
The new one has much longer pulses and they are LOW. (so I guess not really pulses just delays between the 1ms pulse)
Say we have a 10ms pulse... It goes low for 10ms then high for set time think its 1ms. then low to 10ms again. That would make 2 pulses in a 21ms range instead of 2 pulses in a 20ms range. With a 15ms pulse it would equal 2 pulses in a 31ms range.
Maybe im not explaining it correctly but on a standard the rising edge always starts at a set point every 20ms measuring 1 channel.
So basically I am using the freq off the new one and thats working instead of the width. I don't know how else to explain it. If I knew the proper terms maybe it would make more sense lol.
I do have another question tho
On a 4mhz chip how long would this take to add 1 and get back to while?
while GPIO.4=0
Nosig = Nosig + 1
wend
Bookmarks