- Author
- Alec Fenichel
void setup() {
Serial.begin(9600);
Serial.println("Pin Group is valid.");
} else {
Serial.println("Pin Group is not valid!");
while(1) {}
}
}
void loop() {
delay(200);
}
Fast operations on Arduino I/O pins.
Simultaneous operations on Arduino I/O pins.
Class for simultaneous operations on Arduino I/O pins.
void toggleState()
Toggle the pin state (HIGH -> LOW, LOW -> HIGH)
void setOutput()
Set the pin mode to output.
bool isValid()
Check the group to ensure all pins use the same registers.
Class for fast operations on Arduino I/O pins.
void setHigh()
Set the pin output to HIGH.
void setLow()
Set the pin output to LOW.