Added compile option to include a MPR121 board adress scanning function for troubleshooting (MENU button at startup). Changed the destination setup for bite and lever to be less confusing and more powerful (custom CCs now possible). The VIB CTL item in the VIBRATO menu is now removed, and in SETUP CTL menu you will find BITE CTL, BITE CC, LEVER CTL and LEVER CC.
BITE CTL and LEVER CTL can both be set to any of these destinations: OFF - no destination active for this controller VIB - vibrato GLD - glide/portamento (defined by GLIDE MOD and GLIDE LMT settings) CC - custom CC output (defined in GLIDE CC and LEVER CC settings) Settings in GLIDE CC and LEVER CC are only used when corresponding control is set to CC in its CTL setting as described above.
This commit is contained in:
parent
c2d429c3f7
commit
b80f9247a2
13 changed files with 11443 additions and 83 deletions
|
@ -162,6 +162,13 @@ void readEEPROM(const bool factoryReset) {
|
|||
writeSetting(BRHARMSET_ADDR, BRHARMSET_FACTORY);
|
||||
writeSetting(BRHARMSEL_ADDR, BRHARMSEL_FACTORY);
|
||||
}
|
||||
|
||||
if(settingsVersion < 42) {
|
||||
writeSetting(BITECTL_ADDR, BITECTL_FACTORY);
|
||||
writeSetting(BITECC_ADDR, BITECC_FACTORY);
|
||||
writeSetting(LEVERCTL_ADDR, LEVERCTL_FACTORY);
|
||||
writeSetting(LEVERCC_ADDR, LEVERCC_FACTORY);
|
||||
}
|
||||
|
||||
|
||||
writeSetting(VERSION_ADDR, EEPROM_VERSION);
|
||||
|
@ -253,6 +260,10 @@ void readEEPROM(const bool factoryReset) {
|
|||
leverMaxVal = readSettingBounded(LEVER_MAX_ADDR, leverLoLimit, leverHiLimit, LEVER_MAX_FACTORY);
|
||||
brHarmSetting = readSettingBounded(BRHARMSET_ADDR, 0, 6, BRHARMSET_FACTORY);
|
||||
brHarmSelect = readSettingBounded(BRHARMSEL_ADDR, 0, 3, BRHARMSEL_FACTORY);
|
||||
biteControl = readSettingBounded(BITECTL_ADDR, 0, 3, BITECTL_FACTORY);
|
||||
leverControl = readSettingBounded(LEVERCTL_ADDR, 0, 3, LEVERCTL_FACTORY);
|
||||
biteCC = readSettingBounded(BITECC_ADDR, 0, 127, BITECC_FACTORY);
|
||||
leverCC = readSettingBounded(LEVERCC_ADDR, 0, 127, LEVERCC_FACTORY);
|
||||
|
||||
//Flags stored in bit field
|
||||
fastBoot = (dipSwBits & (1<<DIPSW_FASTBOOT))?1:0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue