Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jandelgado/jled-example-switch-sequence

A JLed example showing how to dynamically switch between sequences
https://github.com/jandelgado/jled-example-switch-sequence

arduino esp32 jled led

Last synced: about 2 months ago
JSON representation

A JLed example showing how to dynamically switch between sequences

Awesome Lists containing this project

README

        

# JLed dynamic sequence demo

[![build firmware](https://github.com/jandelgado/jled-example-switch-sequence/actions/workflows/build.yml/badge.svg)](https://github.com/jandelgado/jled-example-switch-sequence/actions/workflows/build.yml)

This [JLed](https://github.com/jandelgado/jled) demo shows how to switch
between different `JLedSequence` objects using a push button.

Demo is set up for an ESP32 with LEDs connected to GPIO's 22, 23 and the
bultin LED on GPIO 2. The button is connected to GPIO 5 and GND.

![breadboard](.images/breadboard.png)

## Build

Using PlatformIO, just run

```
$ pio run -t upload
```

Or load the sketch into the Arduino IDE and build and upload there.

## Dependencies

Uses the `JC_Button` library.

## Author

(c) Copyright 2022 by Jan Delgado