Hi, Larry
just forget about ON INTERRUPT : it won't do anything good with " real time " systems ...
I saw you want to deal with 10 servo signals ...
10 x 2.0 ms = 20 ms ... what is very close to a frame duration, so ... not much free time to do something - even blink some leds - !!!
the way to go is to have an " arduino style " ( lol ) clock , better say a free running timer, and flag rising and falling signal edges.
that way, you can use dead time between edges ... just follow richard's advice !
Alain
Alain
just forget about ON INTERRUPT : it won't do anything good with " real time " systems ...
I saw you want to deal with 10 servo signals ...
10 x 2.0 ms = 20 ms ... what is very close to a frame duration, so ... not much free time to do something - even blink some leds - !!!

the way to go is to have an " arduino style " ( lol ) clock , better say a free running timer, and flag rising and falling signal edges.
that way, you can use dead time between edges ... just follow richard's advice !
Alain
Alain
Comment