Uses a pin other than TX to connect to S1.
#include <SoftwareSerial.h>
#include <Sabertooth.h>
SoftwareSerial SWSerial(NOT_A_PIN, 11);
void setup()
{
SWSerial.begin(9600);
ST.autobaud();
}
void loop()
{
int power;
for (power = -127; power <= 127; power ++)
{
ST.motor(1, power);
delay(20);
}
for (power = 127; power >= -127; power --)
{
ST.motor(1, power);
delay(20);
}
}