I want to see in the serial print at start the name of the file I have upload it
so if I have a program called blink I will see it
int led = 13;
void setup() {
Serial.begin(9600);
pinMode(led, OUTPUT);
Serial.print("Start");
Serial.print("the file that was loaded is - ");
Serial.println(file) ---> something like this , I know this is not the way.
}
void loop() {
digitalWrite(led, HIGH);
delay(1000);
Serial.print("Close");
digitalWrite(led, LOW);
delay(1000);
Serial.print("Open");
}
is it possible?