2025-06-19 23:59:54 +02:00

20 lines
405 B
C

#ifndef LEDS_H
#define LEDS_H
#include <zephyr/devicetree.h>
#include <zephyr/drivers/gpio.h>
#include "lora/synch.h"
#include "utils/constAndVars.h"
#define LED0_NODE DT_ALIAS(led0)
extern const struct gpio_dt_spec led_green;
//#define LED1_NODE DT_ALIAS(led1)
//static const struct gpio_dt_spec led_blue = GPIO_DT_SPEC_GET(LED1_NODE, gpios);
void turnOutLEDS(void);
void updateLEDs(void);
#endif