summaryrefslogtreecommitdiff
path: root/hello_world.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-13 21:54:37 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-13 21:54:37 -0600
commit41c688316889ac2edddfae09fbeaa52a2206a33c (patch)
tree27b63116e43690b11caf752c6d9a42cb2e978910 /hello_world.c
initial commit
Diffstat (limited to 'hello_world.c')
-rw-r--r--hello_world.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hello_world.c b/hello_world.c
new file mode 100644
index 0000000..49008a6
--- /dev/null
+++ b/hello_world.c
@@ -0,0 +1,8 @@
+#include <stdio.h>
+#include "pico/stdlib.h"
+
+int main() {
+ setup_default_uart();
+ printf("Hello, world!\n");
+ return 0;
+}