I'm using the ppmoutput example. I'm able to vary the position of 4 of the channels using pots. Changing the number of channels and increasing/decreasing the gpins array results in a sqaure wave ouput instead of the previous PPM. I'm also noticing a varying pause between sets of signals, which is only visible using 4 channels.
From the source files I can't see what else has to be changed. I have tried adjusting the pulse and pause lengths with no success, I've also varied the mapping function to map the signals i found in a spektrum radio.
Regards
Haroun
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm using the ppmoutput example. I'm able to vary the position of 4 of the channels using pots. Changing the number of channels and increasing/decreasing the gpins array results in a sqaure wave ouput instead of the previous PPM. I'm also noticing a varying pause between sets of signals, which is only visible using 4 channels.
From the source files I can't see what else has to be changed. I have tried adjusting the pulse and pause lengths with no success, I've also varied the mapping function to map the signals i found in a spektrum radio.
Regards
Haroun
Hi Haroun,
Simply changing the CHANNELS define and the initialization of g_pins should work fine.
or
has worked without problems in the past. Could you paste the code you're using here?