aboutsummaryrefslogtreecommitdiff
path: root/nrf528xx/src
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-11-20 15:50:09 +0100
committerlonkaars <loek@pipeframe.xyz>2022-11-20 15:50:09 +0100
commita28d39af910bf5f7b750fa1b6f77fb219eb88769 (patch)
tree1f225ed486b3b251162505b599a7213e2e5aba76 /nrf528xx/src
parenta72b2ece0338905391538a78ea7b3df3a9a6f324 (diff)
move main out of src folder
Diffstat (limited to 'nrf528xx/src')
-rw-r--r--nrf528xx/src/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/nrf528xx/src/main.c b/nrf528xx/src/main.c
deleted file mode 100644
index 649af38..0000000
--- a/nrf528xx/src/main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <zephyr/zephyr.h>
-#include <zephyr/drivers/gpio.h>
-
-static const struct gpio_dt_spec led = GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
-
-void main() {
- gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE);
-
- while (1) {
- gpio_pin_toggle_dt(&led);
- k_msleep(1000);
- }
-}