buttons - ebolzMagy/EMCFFBV2 GitHub Wiki

Buttons Configuration

Click Button Settings Button Settings1 in the EMCFFBV2Utility to access the Buttons page.

The Buttons page consists of 3 tabs:

  1. Buttons: Displays the current state of all button inputs. Button Settings1

  2. Button Config: Configures button behavior, LED settings, and debounce. Button Settings2


Button Config Tab

This tab allows you to configure the behavior and appearance of each button (from Button 1 to Button 128).

Global Settings

  • LED Brightness: Adjusts the brightness of the RGB LEDs (range: 0 - 255).
  • Interval (ms): Sets the update interval for the LEDs in milliseconds.
  • Debounce (ms): Sets the debounce time for button inputs in milliseconds.

Per-Button Configuration

For each button, you can configure the following settings:

  • Disable: Check this box to disable the button.
  • Invert: Check this box to invert the button input (e.g., active low to active high).
  • LED On Color: Sets the RGB color of the LED when the button is active.
  • LED Off Color: Sets the RGB color of the LED when the button is inactive.
  • Mode: Select the button behavior mode from the following options:
    • Normal: The button behaves as a standard momentary switch.
    • Toggle: The button toggles between on and off states with each press.
    • Toggle Switch: The button acts as a latching switch, staying on until pressed again.
    • Toggle Switch On: The button turns on when pressed and stays on until another button is pressed.
    • Toggle Switch Off: The button turns off when pressed and stays off until another button is pressed.
  • Delay (ms): Sets the delay before the button action is triggered.
  • On Timer (ms): Sets the duration the button remains active after being pressed.

  1. Shifter Analog: Configures analog shifter and analog button settings. Button Settings3

Shifter Analog Tab

This tab is used to configure the analog shifter and analog button settings.

Shifter Mode

  • Off: Disables the shifter functionality.
  • Sequential: Enables sequential shifter mode.
    Note: This option is only available if the Analog Y Shifter pin mode is configured.
  • G29 Shifter: Enables G29-style shifter mode.
    Note: This option is only available if both Analog X Shifter and Analog Y Shifter pin modes are configured.

Shifter Range Configuration

  • Use the triangular sliders to set the X and Y range limits for the shifter.
  • Click Reset to restore the default range values.

Analog Button

If the Analog Button pin mode is configured in the GPIO settings, this section will allow you to create 5 virtual buttons based on the analog input range.

Analog Button Configuration

  • Use the triangular sliders to define the analog input range for each virtual button.
  • Each range corresponds to a virtual button that will be activated when the analog input falls within that range.

Next Steps

➡️ Continue to Motor Configuration for setting up motor parameters.


Need Help?

If you have any questions or need assistance, visit the Discussions section.


Happy building! 🚀