void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(13,OUTPUT);
Serial.println("hi");
}
void loop() {
// put your main code here, to run repeatedly:
if(Serial.available())
{
int inp=Serial.parseInt();
digitalWrite(13,HIGH);
delay(inp*100);
digitalWrite(13,LOW);
delay(inp*100);
}
}