Skip to content

Releasing brake via Speed Control does not send CC68=0 #3

@nathan-stewart

Description

@nathan-stewart

In the case where the Rotary brake is set, and is disengaged by the 'Speed' control rather than the Brake/Stop button, the LED PWM indicates the expected behavior, and the modwheel value is sent (CC1=64 or CC1=127), but it doesn't send the brake release command, CC68=0. My Arduino installation is messed up at the moment and not compiling, but I believe this should fix it.

[code]
diff --git a/Arduino/GMLAB_D9X/GMLAB_D9X.ino b/Arduino/GMLAB_D9X/GMLAB_D9X.ino
index 14fc79d..f4e60ba 100644
--- a/Arduino/GMLAB_D9X/GMLAB_D9X.ino
+++ b/Arduino/GMLAB_D9X/GMLAB_D9X.ino
@@ -422,6 +422,7 @@ void DoButton(int btn, int status)
{
// Disengage the brake..
Latches.RotaryRunStop = 0;

  •    SendMidiCC(0, kMidiCC_RotaryRunStop, Latches.RotaryRunStop ? 127 : 0); 
       SetLed(LED_RUNSTOP, Latches.RotaryRunStop);
       EEPROM.write(EEPROM_SPEED_RUNSTOP, Latches.RotaryRunStop);
     }
    

[/code]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions