mirror of
https://github.com/mysensors/MySensors.git
synced 2026-03-11 18:47:12 +01:00
The rules are in .tools/astyle/config/style.cfg and can also be reviewed at https://www.mysensors.org/view/260#coding-guidelines-core-library
15 lines
276 B
C++
15 lines
276 B
C++
// Test fastDigital function timing with a scope.
|
|
#include <DigitalIO.h>
|
|
const uint8_t PIN = 13;
|
|
void setup()
|
|
{
|
|
fastPinMode(PIN, OUTPUT);
|
|
}
|
|
void loop()
|
|
{
|
|
fastDigitalWrite(PIN, HIGH);
|
|
fastDigitalWrite(PIN, LOW);
|
|
fastDigitalToggle(PIN);
|
|
fastDigitalToggle(PIN);
|
|
delay(1);
|
|
} |