summaryrefslogtreecommitdiff
path: root/hello_world.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-15 23:16:00 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-15 23:16:00 -0600
commit7c30fe0be98a3028964d437f5c31cc968fbf9755 (patch)
tree36047161fe75349acac0e179b8010205a7fe08bb /hello_world.c
parentd297d8ec1f5bac1015c53dfe169d2ce1a838b007 (diff)
wip
Diffstat (limited to 'hello_world.c')
-rw-r--r--hello_world.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hello_world.c b/hello_world.c
deleted file mode 100644
index 53e341c..0000000
--- a/hello_world.c
+++ /dev/null
@@ -1,14 +0,0 @@
-#include <stdio.h>
-#include "pico/stdlib.h"
-
-int main() {
- stdio_init_all();
- gpio_init(PICO_DEFAULT_LED_PIN);
- gpio_set_dir(PICO_DEFAULT_LED_PIN, GPIO_OUT);
-
- for (bool st = true; true; st = !st) {
- gpio_put(PICO_DEFAULT_LED_PIN, st);
- printf("Hello, world!\n");
- sleep_ms(1000);
- }
-}