void setup() {
Serial.begin(9600);
}
void loop() {
delay(500);
Serial.println(String(myPin.
rcTimer(255)));
}
Fast operations on Arduino I/O pins.
Class for fast operations on Arduino I/O pins.
volatile unsigned int rcTimer(volatile unsigned int count)
Set the pin mode to input and decrement a counter until the pin goes HIGH or the counter reaches 0 th...
void setLow()
Set the pin output to LOW.