diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-15 23:16:00 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-15 23:16:00 -0600 |
commit | 7c30fe0be98a3028964d437f5c31cc968fbf9755 (patch) | |
tree | 36047161fe75349acac0e179b8010205a7fe08bb /hello_world.c | |
parent | d297d8ec1f5bac1015c53dfe169d2ce1a838b007 (diff) |
wip
Diffstat (limited to 'hello_world.c')
-rw-r--r-- | hello_world.c | 14 |
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); - } -} |