summaryrefslogtreecommitdiff
path: root/hello_world.c
diff options
context:
space:
mode:
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);
- }
-}