23 lines
365 B
C
23 lines
365 B
C
#include "../include/packet.h"
|
|
|
|
#include <stdio.h>
|
|
#include "pico/stdlib.h"
|
|
|
|
#define LED_PIN 25
|
|
|
|
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);
|
|
sleep_ms(2000);
|
|
}
|
|
} |