1setup() or loop() was pasted in twice
Two sketches pasted into one tab give two setup() and two loop(). Merge the bodies into one setup() and one loop().
void setup() {
Serial.begin(9600);
}
void loop() {
}
void setup() {
Serial.println("ready");
}void setup() {
Serial.begin(9600);
Serial.println("ready");
}
void loop() {
}Mokxi’s build tab says: The sketch has two setup() functions