shanteacontrols / OpenDeck

Software and hardware platform for simpler building of MIDI controllers.
https://shanteacontrols.com
Apache License 2.0
618 stars 53 forks source link

LED Local - CC/S not working after update #24

Closed Momecmusic closed 4 years ago

Momecmusic commented 4 years ago

Hi Igor,

I have a v1.1 board and had some issues accessing the configurator, so I just updated the board to v3.2.1

I have a very minor issue now that I can not get the led's to activate with "Local - CC/S". I have some momentary buttons with build in led's set up as "Latching" type, Midi message type "CC/0 off".

Before I updated it was all working fine, the corresponding led's where lit when activating the button and the correct midi CC value were sent. Pushing it again set the midi CC value to 0 and turned the led off. (Nice of you to implement this btw, it was a feature I asked for).

Now the led's only blink very shortly and only once in a while.

Hope this makes sense to you and that you can help me.

Also: 1.1 boards can not be updated beyond v3.2.1 as I understand it?

Thanks,

Morten

paradajz commented 4 years ago

Do you maybe have a video of the behavior you're noticing?

Yes, boards before v1.2.1 can't be updated anymore unless they're flashed directly with the new firmware or if they're flashed with HID bootloader.

paradajz commented 4 years ago

Also, please try to configure it with the configurator v3.2.1: https://github.com/paradajz/OpenDeck/releases/tag/v3.2.1

Momecmusic commented 4 years ago

Hi Igor,

thank you for getting back to me. Here is a video of the bug:

https://www.youtube.com/watch?v=_seORRyLUi0

Notice that the corresponding pad on the drum machine is lighting up as I push the button, normally the led on the opendeck controller would light up with it. It is a bit difficult to see, but the led briefly flashes very sporadicly.

I have the same behavior with the other led's.

And yes, I configured it with the v3.2.1 configurator :)

Thanks!

paradajz commented 4 years ago

Hm. Tried factory reset first? Have you also tried configuring only that specific LED without touching others after factory reset?

paradajz commented 4 years ago

Pretty sure this is the source of the issue: https://github.com/paradajz/midi-lib/commit/4d08a8e7e27195b69c4d1f28094e1cb294a0bd93

Fixed now on master, will backport it for official OpenDeck board.

forsakenrecordingstudios commented 4 years ago

This is the same issue i am having. what was the fix?

paradajz commented 4 years ago

The fix for this particular issue is to update the firmware to the latest version: https://github.com/paradajz/OpenDeck/releases/tag/v4.1.0 https://github.com/paradajz/OpenDeck/wiki/Firmware-update#every-other-opendeck-board

forsakenrecordingstudios commented 4 years ago

The web configuration says i am up to date

paradajz commented 4 years ago

The latest version is 4.1.0

-------- Original Message -------- On 26 Apr 2020, 18:08, forsakenrecordingstudios wrote:

The web configuration says i am up to date

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

forsakenrecordingstudios commented 4 years ago

Okay so can i update it through the web configuration or do i need to do it manually?

paradajz commented 4 years ago

Web configurator doesn't support firmware update at the moment, you need to do it manually.

forsakenrecordingstudios commented 4 years ago

so all i need to do is delete the firmware folder and paste in the new? thats it?

paradajz commented 4 years ago

No. Please read that wiki page carefully. You have HID bootloader on board.

forsakenrecordingstudios commented 4 years ago

i am but have no idea what this is

Windows: Open hid_dfu_windows.bat in scripts directory

paradajz commented 4 years ago

What is unclear? It is a script you need to open. There is a scripts directory in OpenDeck repository.

forsakenrecordingstudios commented 4 years ago

the opendeck board is not listed in the choices only these. 2 - Arduino Mega 3 - Arduino Uno 4 - Arduino Leonardo 5 - Arduino Pro Micro 6 - Teensy++ 2.0

paradajz commented 4 years ago

Ahh damn, I thought GitHub handled releases differently. Please go here: https://github.com/paradajz/OpenDeck/tree/v4

Click on "Clone or download", then Download zip.

forsakenrecordingstudios commented 4 years ago

okay so when i select the Official OpenDeck board it just closes

paradajz commented 4 years ago

Is your board in bootloader mode?

forsakenrecordingstudios commented 4 years ago

yes all 3 lights are lit up

forsakenrecordingstudios commented 4 years ago

i just type 1 and press enter correct?

paradajz commented 4 years ago

Right. However there was a bug in the script. Please download the release again: https://github.com/paradajz/OpenDeck/tree/v4

forsakenrecordingstudios commented 4 years ago

okay have it all updated but LED's are still not activating with the buttons.

paradajz commented 4 years ago

Okay, at least you're on latest firmware.

1) Which LED control mode are you using? 2) Are you controlling the LEDs via USB or DIN? 3) What MIDI messages are you sending to the board?

2/3 might be irrelevant if you're trying to control LEDs locally.

forsakenrecordingstudios commented 4 years ago

BUTTON 64 LED 1 Latching Activation ID 63 CC/0 off Activation Value 127 Midi Chan 1 Midi Chan 1 Midi ID 63 RGB no On Velocity 127 Control Type Local - CC/S Blinking no State Test off

forsakenrecordingstudios commented 4 years ago

BUTTON 64 Latching CC/0 off Midi Chan 1 Midi ID 63 On Velocity 127

LED 1 Activ ID 63 Activ Value 127 Midi Chan 1 RGB no Control Type Local - CC/S Blinking no Sate Test off

forsakenrecordingstudios commented 4 years ago

and it is USB

paradajz commented 4 years ago

Thanks. It was another bug unfortunately. https://github.com/paradajz/OpenDeck/commit/7527d16be456a8806b3add8cd7662cf5ab45dc51

New release is now out: v4.1.1 https://github.com/paradajz/OpenDeck/releases/tag/v4.1.1

Download "Source code (zip)" and update the firmware same way as before.

forsakenrecordingstudios commented 4 years ago

Okay i will give it another try