Skip to main content
1 of 2

#include SoftwareSerial s1(5,6);

void setup { s1.begin(9600); s1.setTimeout(50); //sets the timeout of parseint() to 50ms

}

Please note that lowering the timeout too much can cause errors, i would not go below 10.