Skip to content

Byte-White/MiLed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MiLed

MiLed is an easy-to-use Arduino library designed for programming addressable LED strips, specifically WS2812. This library simplifies the process of controlling WS2812 LED strips, allowing you to create captivating lighting effects effortlessly.

Check MiLed's documentation for more info.

Features

  • User-Friendly Interface: MiLed provides a straightforward API for controlling WS2812 LED strips.

  • Effects: The library comes with a variety of built-in effects that you can easily integrate into your projects.

Getting Started

  1. Installation: Copy the MiLed folder into your Arduino libraries directory.

  2. Include MiLed in Your Sketch:

#include <MiLed.h>

#define DATA_PIN  11
#define LED_COUNT  8

MiLed ml(DATA_PIN,LED_COUNT);

void setup()
{

}

void loop()
{
    ml[0] = LedColor(30,0,0);
    ml.show();
    delay(500);
    ml[0] = LedColor(0);
    ml.show();
    delay(500);
}

Note: the data pin must be at PORTB

About

easy-to-use Arduino library for programming addressable LED strips(WS2812)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages