Skip to content

nadasdiPeter/arduino---led-class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Led class

LED class for arduino projects. Creating and using LEDs was never so easy...

#include <Arduino.h>
#include <Led.h>

#define LED_PIN GPIO_NUM_4
Led led(LED_PIN, OFF, fade);

void setup()
{
   led.init();
}

void loop()
{
   led.update();
}

continuous mode:

blinking mode:

fade mode:

About

Led class for arduino projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages