From 99d2c0c9603e267aa7a63ac52dc52b415b828f42 Mon Sep 17 00:00:00 2001 From: user Date: Tue, 7 May 2024 11:22:10 +0200 Subject: Custom keyboard v2 - fix formatting --- Custom keyboard V2/index.md | 8 ++++---- 1 file 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); } ``` -- cgit 1.4.1