Hi Ian,
Hardware mapping:
If you open the sketch and look at the sticks_include.h tab and look at line 21 you sould find:
int stick_inputs[4] = {0,1,2,3}; //input ports for the sticks
and in switches_include.h on line 6
int switch_pins[number_of_switches] = {11,12,13,8};
The stick ranges are set in the sticks_include.h file, right at the top.
const int stick_limits[4][3] = { //stick limits, given as top, center and bottom
{
604, 501, 396 }
,
{
620, 501, 396 }
,
{
617, 511, 398 }
,
{
649, 480, 368 }
};
I have also changed the PPM generation timings slightly, they should be:
#define OUTPUT_TOP 2000 - timer_pause
#define OUTPUT_CENTER 1500 - timer_pause
#define OUTPUT_BOTTOM 1000 - timer_pause
in the output_include.h file
Does that help?