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
Arduino
15 lines
276 B
Arduino
// 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);
|
|
} |