Originally Posted by lovefool
Freedom, haha, I know your comment is written in English.
I have been studying your code ( good_main.c is the latest, right?) and I understood most of structure. I would like to connect the futaba 7cap Tx trainer signal, so I will add a NPN transistor for input. This will cause the PPM signal will beinverted. However your code checks falling edge, so I think this part of your code will stay same.
Recently I replaced my PC, so I needed to install MP-LAB, C18 and Application framework. I downloaded all latest version and installed them.
Please use "main.c" ... good_main.c was an old version...
The code shouldn't be sensitive to inverted or regular PPM signal. I have already tested it with futaba radio and TH9x radio and it works although they don't have the same PPM polarization
Try to understand why with a simple drawing, it's just a matter of logic (no need to look at the code) ! (but difficult to explain with words ...)