esp32-warm-water
esp32 based project for the control of a heating element based on temperature
led.h
Go to the documentation of this file.
1 #ifndef LED_H
2 #define LED_H
3 
4 #include "gpio_wrapper.h"
5 
6 #ifdef __cplusplus
7 extern "C"
8 {
9 #endif //__cplusplus
10 
11  void led_init(void);
12  void led_on(int pin);
13  void led_off(int pin);
14 
15 #ifdef __cplusplus
16 }
17 #endif // __cplusplus
18 
19 #endif // LED_H
defininitions for component to simplify setting up gpio pins
void led_init(void)
Definition: led.c:4
void led_on(int pin)
Definition: led.c:10
void led_off(int pin)
Definition: led.c:15