working on visualizer

This commit is contained in:
2026-03-03 16:20:04 +11:00
parent e43b9585a2
commit 1c0cdac077
2 changed files with 29 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
#include "../include/packet.h"
#include <stdio.h>
#include "pico/stdlib.h"
#define LED_PIN 25
@@ -8,7 +9,12 @@ int main() {
gpio_init(LED_PIN);
gpio_set_dir(LED_PIN, GPIO_OUT);
stdio_init_all();
while (true) {
printf("hello!!!\n");
gpio_put(LED_PIN, 1);
sleep_ms(2000);
gpio_put(LED_PIN, 0);