set which text NoisePlethoraWidget should display on the 7 segment display
| 418 | |
| 419 | // set which text NoisePlethoraWidget should display on the 7 segment display |
| 420 | void updateDataForLEDDisplay() { |
| 421 | |
| 422 | if (programKnobMode == PROGRAM_MODE) { |
| 423 | textDisplayA = std::to_string(programSelectorWithCV.getA().getProgram()); |
| 424 | } |
| 425 | else if (programKnobMode == BANK_MODE) { |
| 426 | textDisplayA = 'A' + programSelectorWithCV.getA().getBank(); |
| 427 | } |
| 428 | isDisplayActiveA = programSelectorWithCV.getMode() == SECTION_A; |
| 429 | |
| 430 | if (programKnobMode == PROGRAM_MODE) { |
| 431 | textDisplayB = std::to_string(programSelectorWithCV.getB().getProgram()); |
| 432 | } |
| 433 | else if (programKnobMode == BANK_MODE) { |
| 434 | textDisplayB = 'A' + programSelectorWithCV.getB().getBank(); |
| 435 | } |
| 436 | isDisplayActiveB = programSelectorWithCV.getMode() == SECTION_B; |
| 437 | } |
| 438 | |
| 439 | // handle convoluted logic for the multifunction Program knob |
| 440 | void processProgramBankKnobLogic(const ProcessArgs& args) { |
nothing calls this directly
no test coverage detected