mirror of
https://github.com/mysensors/MySensors.git
synced 2026-03-11 10:37:10 +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
16 lines
288 B
C++
16 lines
288 B
C++
// 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);
|
|
} |