13 lines
259 B
C
13 lines
259 B
C
#ifndef __LED_H
|
|
#define __LED_H
|
|
|
|
#include "driver/gpio.h"
|
|
|
|
#define LED1_GPIO_PIN 9
|
|
#define LED2_GPIO_PIN 10
|
|
#define GPIO_OUTPUT_PIN_SEL ((1ULL << LED1_GPIO_PIN) | (1ULL << LED2_GPIO_PIN))
|
|
|
|
void led_init(void);
|
|
void LED_Toggle(gpio_num_t gpio_num);
|
|
|
|
#endif |