Pin myPin =
Pin(13, 1<<7, TIMER0A, &PINB, &PORTB, &DDRB);
void setup() {
}
void loop() {
delay(200);
}
Fast operations on Arduino I/O pins.
Class for fast operations on Arduino I/O pins.
void setHigh()
Set the pin output to HIGH.
void setOutput()
Set the pin mode to output.
void toggleState()
Toggle the pin state (HIGH -> LOW, LOW -> HIGH)