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
16 lines
288 B
Arduino
16 lines
288 B
Arduino
// Scope test for write timing with Arduino digitaWrite().
|
|
const uint8_t PIN13 = 13;
|
|
|
|
void setup()
|
|
{
|
|
// Set mode to OUTPUT.
|
|
pinMode(PIN13, OUTPUT);
|
|
}
|
|
void loop()
|
|
{
|
|
digitalWrite(PIN13, HIGH);
|
|
digitalWrite(PIN13, LOW);
|
|
digitalWrite(PIN13, HIGH);
|
|
digitalWrite(PIN13, LOW);
|
|
delay(1);
|
|
} |