summaryrefslogtreecommitdiffstats
path: root/firmware/src/main/hello_world_main.c
diff options
context:
space:
mode:
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);
- }
-}