HI everyone, I have a problem when I write 1 to the serial port, my cycle does not work and does not write out GO, I will be grateful for your help
String value = "";
void setup() {
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
while(Serial.available()>0){
value = char(Serial.read());
Serial.print(value);
}
if(value ==1){
Serial.println("Go");}
}