Arduino Pin Library  v4.2.0
An easy to use Arduino library for fast and simultaneous operations on Arduino I/O pins.
Arduino-Benchmark.ino
Go to the documentation of this file.
1 
8 #define PIN 13 // Define PIN for digital pin labelled 13 on any of the supported boards
9 
13 void setup() {
14  pinMode(PIN, OUTPUT); // Set PIN to output mode
15 }
16 
20 void loop() {
21  while(true) {
22  digitalWrite(PIN, HIGH); // Set PIN to output HIGH
23  digitalWrite(PIN, LOW); // Set PIN to output LOW
24  }
25 }
#define PIN
void loop()
Called continously after setup.
void setup()
Called at start.