summary refs log tree commit diff
diff options
context:
space:
mode:
authoruser <user@node5.net>2024-05-07 11:22:10 +0200
committeruser <user@node5.net>2024-05-07 11:22:10 +0200
commit99d2c0c9603e267aa7a63ac52dc52b415b828f42 (patch)
tree2d904b76f467e1bff6ede474d7bafbe9c4762ab5
parent7f9c68adb243fd3550b6847b491c604be704ad12 (diff)
Custom keyboard v2 - fix formatting
-rwxr-xr-xCustom keyboard V2/index.md8
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);
 }
 ```