2026-03-01 06:50:54 +11:00
|
|
|
#include "../include/packet.h"
|
|
|
|
|
|
2026-03-03 16:20:04 +11:00
|
|
|
#include <stdio.h>
|
2026-02-28 20:47:02 +11:00
|
|
|
#include "pico/stdlib.h"
|
|
|
|
|
|
|
|
|
|
#define LED_PIN 25
|
|
|
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
gpio_init(LED_PIN);
|
|
|
|
|
gpio_set_dir(LED_PIN, GPIO_OUT);
|
|
|
|
|
|
2026-03-03 16:20:04 +11:00
|
|
|
stdio_init_all();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-02-28 20:47:02 +11:00
|
|
|
while (true) {
|
2026-03-03 16:20:04 +11:00
|
|
|
printf("hello!!!\n");
|
2026-02-28 20:47:02 +11:00
|
|
|
gpio_put(LED_PIN, 1);
|
|
|
|
|
sleep_ms(2000);
|
|
|
|
|
gpio_put(LED_PIN, 0);
|
|
|
|
|
sleep_ms(2000);
|
|
|
|
|
}
|
|
|
|
|
}
|