akkuschrauber wrote:
Tested also with CPPM output from my Taranis and tested + & - pulse variants, both works, but no info on that ...
How do I change the shown channel numbers, so ch1 shows ch1 and not ch0 etc. ... ?
Some other idea:
Is it possible to use some graphical display like here:
http://fpv-community.de/showthread.php? ... post510036
So one have some graphical feedback for better in field readings ...
The first one is easy enough. If you want to show the channel numbers starting at 1 rather than at 0, add the following line at the top:
#define CHAN_NUM_DISPLAY_START 1 // Set to 0 to start channel number display at 0, or 1 to start it at 1
And modify the following three lines (original line numbers shown, they will have been changed by how ever many lines you ended up inserting for the new line above):
Line 342:
Was:
sprintf(lcdLine, "%2d:%4d %2d:%4d", channelDisplay, ppm[channelDisplay], channelDisplay + 1, ppm[channelDisplay + 1]);
New:
sprintf(lcdLine, "%2d:%4d %2d:%4d", channelDisplay + CHAN_NUM_DISPLAY_START, ppm[channelDisplay], channelDisplay + 1 + CHAN_NUM_DISPLAY_START, ppm[channelDisplay + 1]);
Line 357
Was:
sprintf(lcdLine, "%2d:%4d %2d:%4d", channelDisplay, ppm[channelDisplay], channelDisplay + 1, ppm[channelDisplay + 1]);
New:
sprintf(lcdLine, "%2d:%4d %2d:%4d", channelDisplay + CHAN_NUM_DISPLAY_START, ppm[channelDisplay], channelDisplay + 1 + CHAN_NUM_DISPLAY_START, ppm[channelDisplay + 1]);
Line 362
Was:
sprintf(lcdLine, "%2d:%4d %2d:%4d", channelDisplay + 2, ppm[channelDisplay + 2], channelDisplay + 3, ppm[channelDisplay + 3]);
New:
sprintf(lcdLine, "%2d:%4d %2d:%4d", channelDisplay + 2 + CHAN_NUM_DISPLAY_START, ppm[channelDisplay + 2], channelDisplay + 3 + CHAN_NUM_DISPLAY_START, ppm[channelDisplay + 3]);
That other project looks nice. Getting this one to run with the same display would be easy enough, getting the nice pulse display would be a bit more. Note that as the CPPM pulses come in one after the other, there will never be any overlap the way it happens with the parallel PWM inputs the other project is analyzing. Probably the best approach from my perspective would be to add the CPPM functionality of this project to the other project. So many fun things that could be done, so little time...
I am really happy to see that a few people have built these things. I pull mine out regularly when I am setting up a new model. Last time was when I wanted to check the fail-safe output behavior of my Taranis and the multicopter controller I was using wasn't recognizing the fail-safe.
Andrew