My tinkercad code is given below
int count;//number of led blinks
void setup()
{
pinMode(13,OUTPUT);
Serial.begin(9600);
Serial.println("How many times do you want red led to blink?");
while (Serial.available() ==0) {}
count = Serial.parseInt();
Serial.println('Original desired final target for count');
Serial.println(count);
}
}
void loop()
{
for (int i=0; i<count; i++)
{
digitalWrite(13,HIGH);
delay(500);
digitalWrite(13, LOW);
delay(500);
}
delay(5000);
}
In void setup()
i also want to show the original final desired count target and i have also attached a snapshot to show my issue but i am not getting on output the string''Original desired final target for count"