Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Help!!! Control from the buttons #36

Closed
Vika1283 opened this issue Sep 2, 2017 · 2 comments
Closed

Help!!! Control from the buttons #36

Vika1283 opened this issue Sep 2, 2017 · 2 comments
Assignees

Comments

@Vika1283
Copy link

Vika1283 commented Sep 2, 2017

Please add a programme of control from the buttons

on/off GPIO5
brightness [-]GPIO6 [+]GPIO7
speed of effect [-]GPIO13 [+]GPIO15
switching of effects GPIO14
auto mode cycle GPIO12
Please help me, I want to do a garland for New Year very much

#include <WS2812FX.h>

#define LED_COUNT 587
#define LED_PIN 2

WS2812FX ws2812fx = WS2812FX(LED_COUNT, LED_PIN, NEO_RGB + NEO_KHZ800);

void setup() {
ws2812fx.init();
ws2812fx.setBrightness(255);
ws2812fx.setSpeed(200);
ws2812fx.setColor(0x007BFF);
ws2812fx.setMode(FX_MODE_STATIC);
ws2812fx.start();
}

void loop() {

ws2812fx.service();

}

@toblum toblum self-assigned this Sep 20, 2017
@toblum
Copy link
Owner

toblum commented Sep 20, 2017

Dear @Vika1283,

thank you for your proposal. I added this to the list of possible enhancements. Maybe you could try to find some help on this in the gitter chat. If there is some code I'd love to integrate this into McLIghting.

Regards
Tobias

@toblum toblum closed this as completed Sep 29, 2017
@toblum
Copy link
Owner

toblum commented Jan 21, 2018

@Vika1283 There is now button support available: https://github.com/toblum/McLighting/wiki/Button-control

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants