Initiates tuning from Packet Serial. In this example, Mode 2 (Limit Switches) is selected.
#include <SoftwareSerial.h>
#define TX_PIN 11
#define RX_PIN 10
#define TUNE_MODE_NUMBER 2
SoftwareSerial SerialPort(RX_PIN, TX_PIN);
void setup()
{
SerialPort.begin(9600);
SerialPort.listen();
delay(2000);
long enterModeParams[1] = { TUNE_MODE_NUMBER };
long disableChannelsParams[1] = { 0 };
long goParams[0];
}
void loop()
{
K1.getP();
}