1A function is declared and has no body
A line such as int readSensor(); only announces the function. Write its body, or remove the call.
int readSensor();
void setup() {
Serial.begin(9600);
Serial.println(readSensor());
}
void loop() {
}int readSensor() {
return 42;
}
void setup() {
Serial.begin(9600);
Serial.println(readSensor());
}
void loop() {
}Mokxi’s build tab says: readSensor is used, but its code is in no file of the build.