#define TOLERANCE 40 /* Tolerance +/- (in microseconds): CAUTION, no overlap allowed between 2 adjacent active areas . active area width = 2 x TOLERANCE (us) */
KeyMap_tCustomKeyboard[]PROGMEM={{CENTER_VALUE_US(1100,TOLERANCE)},/* PUSH_BUTTON1: +/-40 us */
{CENTER_VALUE_US(1300,TOLERANCE)},/* PUSH_BUTTON2: +/-40 us */
{CENTER_VALUE_US(1500,TOLERANCE)},/* PUSH_BUTTON3: +/-40 us */
{CENTER_VALUE_US(1700,TOLERANCE)},/* PUSH_BUTTON4: +/-40 us */
{CENTER_VALUE_US(1900,TOLERANCE)},/* PUSH_BUTTON5: +/-40 us */
/* Declaration of the actions using the DECLARE_TOGGLE_ACTION(Idx) macro with Idx = The number of the action and the pin number (The ##Idx will be automatically replaced with the Idx value */
RcSeq_DeclareSignal(RC_CHANNEL,RX_CHANNEL_SIGNAL_PIN);/* RC_CHANNEL Channel is assigned to RX_CHANNEL_SIGNAL_PIN pin */
RcSeq_DeclareCustomKeyboard(RC_CHANNEL,RC_CUSTOM_KEYBOARD(CustomKeyboard));/* The CustomKeyboard map is assigned to the RC_CHANNEL Channel */
RcSeq_DeclareCommandAndShortAction(RC_CHANNEL,PUSH_BUTTON1,ToggleAction1);pinMode(1,OUTPUT);/* The ToggleAction1 is assigned to the PUSH_BUTTON1 push button #1 */
RcSeq_DeclareCommandAndShortAction(RC_CHANNEL,PUSH_BUTTON2,ToggleAction2);pinMode(2,OUTPUT);/* The ToggleAction2 is assigned to the PUSH_BUTTON1 push button #2 */
RcSeq_DeclareCommandAndShortAction(RC_CHANNEL,PUSH_BUTTON3,ToggleAction3);pinMode(3,OUTPUT);/* The ToggleAction3 is assigned to the PUSH_BUTTON1 push button #3 */
RcSeq_DeclareCommandAndShortAction(RC_CHANNEL,PUSH_BUTTON4,ToggleAction4);pinMode(4,OUTPUT);/* The ToggleAction4 is assigned to the PUSH_BUTTON1 push button #4 */
RcSeq_DeclareCommandAndShortAction(RC_CHANNEL,PUSH_BUTTON5,ToggleAction5);pinMode(5,OUTPUT);/* The ToggleAction5 is assigned to the PUSH_BUTTON1 push button #5 */