build is set up

This commit is contained in:
2026-02-28 20:47:02 +11:00
parent 23abfa8b6a
commit 14314f54c0
5 changed files with 170 additions and 1 deletions

15
relay/main.c Normal file
View File

@@ -0,0 +1,15 @@
#include "pico/stdlib.h"
#define LED_PIN 25
int main() {
gpio_init(LED_PIN);
gpio_set_dir(LED_PIN, GPIO_OUT);
while (true) {
gpio_put(LED_PIN, 1);
sleep_ms(2000);
gpio_put(LED_PIN, 0);
sleep_ms(2000);
}
}