summaryrefslogtreecommitdiffstats
path: root/firmware/src/main/hello_world_main.c
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2024-09-21 16:16:13 +0200
committerLouis Burda <quent.burda@gmail.com>2024-09-21 16:16:13 +0200
commit98ca9169f2518796ef62bba55f2e58623d076b37 (patch)
treee982e614ea5774c2a2959758a16f934e97b3c269 /firmware/src/main/hello_world_main.c
parentcce1d1606b87f572cfe5bb7b740d30d416685b2c (diff)
downloaddesk-andon-98ca9169f2518796ef62bba55f2e58623d076b37.tar.gz
desk-andon-98ca9169f2518796ef62bba55f2e58623d076b37.zip
Add v-cut separated dual usb board
Diffstat (limited to 'firmware/src/main/hello_world_main.c')
-rw-r--r--firmware/src/main/hello_world_main.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/firmware/src/main/hello_world_main.c b/firmware/src/main/hello_world_main.c
deleted file mode 100644
index 2305439..0000000
--- a/firmware/src/main/hello_world_main.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "freertos/FreeRTOS.h"
-#include "freertos/task.h"
-#include "driver/gpio.h"
-#include "hal/gpio_types.h"
-
-#include <stdio.h>
-
-void app_main(void)
-{
- gpio_reset_pin(5);
- gpio_set_direction(5, GPIO_MODE_OUTPUT_OD);
- int i = 0;
- while (1) {
- printf("Hello world! %i\n", ++i);
- fflush(stdout);
- gpio_set_level(5, 1);
- vTaskDelay(1000 / portTICK_PERIOD_MS);
- gpio_set_level(5, 0);
- vTaskDelay(1000 / portTICK_PERIOD_MS);
- }
-}