Re: Error compiling for board Arduino/Genuino Uno.

I am also new to arduino and cannot get my code to run. The result state : Error Compling for board Arduino/Genuino uno. Please help me in finding my mistake.

The code is below:

#include <SyRenSimplified.h>

SyRenSimplified ST; // Simplified Serial Mode. Baud rate of 9600. Arduino TX->1 → Sabertooth S1 Arduino GND → Sabertooth 0V [ST.motor(1, X); X of 0 is full reverse, 128 is stop, 255 full forward] <— WRONG! -127 full reverse, 0 stop, 127 full forward

void setup() {
SyRenTXPinSerial.begin(9600); // This is the baud rate you chose with the DIP switches.
ST.motor(1, 0);

}
void loop(){
ST.motor(1,0);

delay(2000);

ST.motor(1,0); //-127 FULL reverse. 0 is stop. +127 is FULL forward

delay(2000);

ST.motor(1,0);

delay(2000);

ST.motor(1,-60);

delay(2000);
}

Don’t hijack threads dsinclair01!

Please use code tags (</> button on the toolbar) when you post code or warning/error messages. The reason is that the forum software can interpret parts of your code as markup, leading to confusion, wasted time, and a reduced chance for you to get help with your problem. This will also make it easier to read your code and to copy it to the IDE or editor. Using code tags and other important information is explained in the How to use this forum post. Please read it.

Please always do a Tools > Auto Format on your code before posting it. This will make it easier for you to spot bugs and make it easier for us to read. If you’re using the Arduino Web Editor you will not have access to this useful tool. I recommend you to use the standard IDE instead.

Please remove unnecessary blank lines from your code before posting to the forum. One or two to separate code into logical sections is fine but large spaces for no reason just make for more scrolling when we’re trying to read your code.

When your code requires a library that’s not included with the Arduino IDE please always post a link (using the chain link icon on the toolbar to make it clickable) to where you downloaded that library from or if you installed it using Library Manger(Sketch > Include Library > Manage Libraries) then say so and state the full name of the library.