1A variable and a function share a name
Give the function a verb and the variable a noun, such as ledPin and blinkLed.
int led = 13;
void led() {
Serial.println("blink");
}
void setup() {
Serial.begin(9600);
led();
}
void loop() {
}int ledPin = 13;
void blinkLed() {
Serial.println("blink");
}
void setup() {
Serial.begin(9600);
blinkLed();
}
void loop() {
}Mokxi’s build tab says: led is already the name of something in the board's core or a library