Thread: Download RC-USB Joystick Files
View Single Post
Old Nov 25, 2011, 09:22 AM
freedom2000 is offline
Find More Posts by freedom2000
Registered User
freedom2000's Avatar
Joined Aug 2007
314 Posts
Originally Posted by lovefool View Post
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 ...)

freedom2000 is offline Find More Posts by freedom2000
Reply With Quote