haschdl / haschdl/pLaunchPadMini

trigger and order of launchPadMiniPadChanged in code

Open
#6 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
4
Forks
0
PR merge metrics
No merged PRs in 30d

Description

It seems `launchPadMiniPadChanged()` is triggered before the pad state changes;
When I use `getPad(col,row)` within `launchPadMiniPadChanged()`, it outputs the previous state of the pad (e.g. `OFF` when pad becomes `LED_RED` and vice-versa).
Would it make more sense to get the current/changed pad state instead?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.