Custom LED driver source file.
More...
#include "driver/led.h"
#include "driver/gpio.h"
#include "esp_idf_version.h"
Custom LED driver source file.
- Author
- Jesus Minjares (https://github.com/jminjares4)
- Version
- 0.1
- Date
- 2022-07-25
- Copyright
- Copyright (c) 2022
◆ LED_HIGH
◆ LED_LOW
◆ led_enable()
void led_enable |
( |
led_t *const | led | ) |
|
LED enable.
- Parameters
-
- Note
- The function assume that the user has initialize the members of the object.
- Returns
- None
◆ led_off()
void led_off |
( |
led_t *const | led | ) |
|
Turn off LED object pin.
- Parameters
-
- Note
- Function will update the state of LED
- Returns
- None
◆ led_on()
void led_on |
( |
led_t *const | led | ) |
|
Turn on LED object pin.
- Parameters
-
- Note
- Function will update the state of LED
- Returns
- None
◆ led_toggle()
void led_toggle |
( |
led_t *const | led | ) |
|
Toggle LED object pin.
- Parameters
-
- Note
- Function will update the state of LED
- Returns
- None