rebuilt the arduino code and website, since i had lost it like an idiot.

This commit is contained in:
Lucca Pirovano
2025-11-15 18:55:41 -05:00
parent 4ca73343a5
commit 81f4a6d1c0
4 changed files with 125 additions and 25 deletions
+14
View File
@@ -0,0 +1,14 @@
const int FAN_PIN = 9; // Pin connected to the FAN
void setup() {
pinMode(FAN_PIN, OUTPUT); // Set the FAN pin as an output
}
void loop() {
digitalWrite(FAN_PIN, HIGH); // Turn the FAN on
Serial.print("Fan-High");
delay(2000); // Wait for 1 second
digitalWrite(FAN_PIN, LOW); // Turn the FAN off
Serial.print("Fan-Low");
delay(2000); // Wait for 1 second
}