esp32-warm-water
esp32 based project for the control of a heating element based on temperature
main
include
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
gpio_wrapper.h
defininitions for component to simplify setting up gpio pins
led_init
void led_init(void)
Definition:
led.c:4
led_on
void led_on(int pin)
Definition:
led.c:10
led_off
void led_off(int pin)
Definition:
led.c:15
Generated by
1.9.1