void setup() {
  // put your setup code here, to run once:
Serial.begin(9600);
}

void loop() {
  // put your mvaain code here, to run repeatedly:
  Serial.println("enter value");
while(Serial.avaliable()==0){}
value =Serial.readString()
Serial.println(value);
analogWrite(5,value.toInt());

}