bool flag = true;
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
if (flag) {
Serial.println("Свет включен");
} else {
Serial.println("Свет выключен");
}
}
void loop() {
// put your main code here, to run repeatedly:
}