Elevator v2.0
Elevator Documenation
Loading...
Searching...
No Matches
led.c File Reference

led.h source code More...

#include "inc/led.h"
Include dependency graph for led.c:

Functions

void ledInit (Led *led)
 Led initialization for any led. More...
 
void ledOn (Led *led)
 ledOn will set high the instance of the led More...
 
void ledOff (Led *led)
 ledOff will set low the instance of the led More...
 
void ledAllOff (Led *led, int size)
 

Detailed Description

led.h source code

Author
Jesus Minjares (https://github.com/jminjares4)
Version
0.1
Date
2021-11-27

Function Documentation

◆ ledAllOff()

void ledAllOff ( Led led,
int  size 
)

◆ ledInit()

void ledInit ( Led led)

Led initialization for any led.

Parameters
ledpass a Led by reference
Returns
None

◆ ledOff()

void ledOff ( Led led)

ledOff will set low the instance of the led

Parameters
ledpass a Led by reference
Note
None
ledOn will change the state of the led
See also
state

◆ ledOn()

void ledOn ( Led led)

ledOn will set high the instance of the led

Parameters
ledpass a Led by reference
Returns
None
Note
ledOn will change the state of the led
See also
state