Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cmmakerclub/cmmc_led

An easy to use and control LED library for Arduino framework.
https://github.com/cmmakerclub/cmmc_led

arduino arduino-library esp8266

Last synced: 28 days ago
JSON representation

An easy to use and control LED library for Arduino framework.

Awesome Lists containing this project

README

        

# CMMC LED Library

*An easy to use and control LED library for Arduino framework.*

CMMC_LED is designed for controller library that you can wrap pin number and pin state to the object

Features
--------
* Set default led state when create led object
* `toggle()` LED state
* `set()` LED state
* easy control `low()` and `high()` method
* MIT License

Usage
--------

Initializing:

CMMC_LED led(2, LOW);
led.init();

Controlling:

led.low();
led.high();

Toggle:

led.toggle()