diff options
Diffstat (limited to 'Custom keyboard V2')
| -rwxr-xr-x | Custom keyboard V2/index.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Custom keyboard V2/index.md b/Custom keyboard V2/index.md index 90dc5a2..ded5a43 100755 --- a/Custom keyboard V2/index.md +++ b/Custom keyboard V2/index.md @@ -388,10 +388,10 @@ void loop() { } else { blink_frequency = BLINK_FREQUENCY; // Milliseconds } - // Alternate state every blink_frequency milliseconds - bool state = (millis() % (blink_frequency * 2)) > blink_frequency; - Serial.print("State: "); - Serial.println(state); + // Alternate state every blink_frequency milliseconds + bool state = (millis() % (blink_frequency * 2)) > blink_frequency; + Serial.print("State: "); + Serial.println(state); mcp.digitalWrite(LED_PIN, state); } ``` |
