Elevator v2.0
Elevator Documenation
Loading...
Searching...
No Matches
Led Struct Reference

This is a custom library for easy use of Led without the struggle of doing all the hardware intializatio and selection. More...

#include <led.h>

Collaboration diagram for Led:
Collaboration graph

Data Fields

gpio_num_t gpio
 
state_t state
 

Detailed Description

This is a custom library for easy use of Led without the struggle of doing all the hardware intializatio and selection.

Led struct for any outputs.

Example

typedef struct{
gpio_num_t gpio; // gpio pin
enum state; //state of the led
}Led;
This is a custom library for easy use of Led without the struggle of doing all the hardware intializa...
Definition: led.h:63
gpio_num_t gpio
Definition: led.h:64
state_t state
Definition: led.h:65
See also
enum state_t

Field Documentation

◆ gpio

gpio_num_t Led::gpio

gpio pin

◆ state

state_t Led::state

led state


The documentation for this struct was generated from the following file: