From 6b39de5b1939abf4fe23a4cd7add3c26104fb714 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Fri, 15 May 2020 12:33:34 +0200 Subject: [PATCH] Fixes for displaying instance numbers, but there still problems. --- UI.hpp | 314 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 158 insertions(+), 156 deletions(-) diff --git a/UI.hpp b/UI.hpp index 06545e3..5b276e3 100644 --- a/UI.hpp +++ b/UI.hpp @@ -1012,9 +1012,9 @@ void UI_func_chorus_frequency(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1033,9 +1033,9 @@ void UI_func_chorus_frequency(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1067,9 +1067,9 @@ void UI_func_chorus_waveform(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1085,9 +1085,9 @@ void UI_func_chorus_waveform(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif @@ -1131,9 +1131,9 @@ void UI_func_chorus_depth(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1151,9 +1151,9 @@ void UI_func_chorus_depth(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1186,9 +1186,9 @@ void UI_func_chorus_level(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1206,9 +1206,9 @@ void UI_func_chorus_level(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1244,9 +1244,9 @@ void UI_func_delay_time(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1264,9 +1264,9 @@ void UI_func_delay_time(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1299,9 +1299,9 @@ void UI_func_delay_feedback(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1319,9 +1319,9 @@ void UI_func_delay_feedback(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1354,9 +1354,9 @@ void UI_func_delay_level(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1374,9 +1374,9 @@ void UI_func_delay_level(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1409,9 +1409,9 @@ void UI_func_reverb_send(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1429,9 +1429,9 @@ void UI_func_reverb_send(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1465,9 +1465,9 @@ void UI_func_filter_cutoff(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1485,9 +1485,9 @@ void UI_func_filter_cutoff(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1520,9 +1520,9 @@ void UI_func_filter_resonance(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1540,9 +1540,9 @@ void UI_func_filter_resonance(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1576,9 +1576,9 @@ void UI_func_transpose(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1596,9 +1596,9 @@ void UI_func_transpose(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1632,9 +1632,9 @@ void UI_func_tune(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1652,9 +1652,9 @@ void UI_func_tune(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1688,9 +1688,9 @@ void UI_func_midi_channel(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1706,9 +1706,9 @@ void UI_func_midi_channel(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif @@ -1762,9 +1762,9 @@ void UI_func_lowest_note(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1782,9 +1782,9 @@ void UI_func_lowest_note(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1823,9 +1823,9 @@ void UI_func_highest_note(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1843,9 +1843,9 @@ void UI_func_highest_note(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1877,9 +1877,9 @@ void UI_func_sound_intensity(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1899,9 +1899,9 @@ void UI_func_sound_intensity(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -1941,9 +1941,9 @@ void UI_func_panorama(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -1959,9 +1959,9 @@ void UI_func_panorama(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif @@ -2062,9 +2062,9 @@ void UI_func_polyphony(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2082,9 +2082,9 @@ void UI_func_polyphony(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif lcd_active_instance_number(selected_instance_id); @@ -2118,9 +2118,9 @@ void UI_func_engine(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2138,9 +2138,9 @@ void UI_func_engine(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2184,9 +2184,9 @@ void UI_func_mono_poly(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2204,9 +2204,9 @@ void UI_func_mono_poly(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif lcd_active_instance_number(selected_instance_id); @@ -2248,9 +2248,9 @@ void UI_func_note_refresh(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2268,9 +2268,9 @@ void UI_func_note_refresh(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2311,9 +2311,9 @@ void UI_func_pb_range(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2331,9 +2331,9 @@ void UI_func_pb_range(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2366,9 +2366,9 @@ void UI_func_pb_step(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2386,9 +2386,9 @@ void UI_func_pb_step(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2421,9 +2421,9 @@ void UI_func_mw_range(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2441,9 +2441,9 @@ void UI_func_mw_range(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2476,9 +2476,9 @@ void UI_func_mw_assign(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2496,9 +2496,9 @@ void UI_func_mw_assign(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2557,9 +2557,9 @@ void UI_func_mw_mode(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2577,9 +2577,9 @@ void UI_func_mw_mode(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2624,9 +2624,9 @@ void UI_func_fc_range(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2645,9 +2645,9 @@ void UI_func_fc_range(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2680,9 +2680,9 @@ void UI_func_fc_assign(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2700,9 +2700,9 @@ void UI_func_fc_assign(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2761,9 +2761,9 @@ void UI_func_fc_mode(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2781,9 +2781,9 @@ void UI_func_fc_mode(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2828,9 +2828,9 @@ void UI_func_bc_range(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2848,9 +2848,9 @@ void UI_func_bc_range(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2883,9 +2883,9 @@ void UI_func_bc_assign(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2903,9 +2903,9 @@ void UI_func_bc_assign(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -2964,9 +2964,9 @@ void UI_func_bc_mode(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -2984,9 +2984,9 @@ void UI_func_bc_mode(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3031,9 +3031,9 @@ void UI_func_at_range(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -3051,9 +3051,9 @@ void UI_func_at_range(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3086,9 +3086,9 @@ void UI_func_at_assign(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -3106,9 +3106,9 @@ void UI_func_at_assign(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3167,9 +3167,9 @@ void UI_func_at_mode(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -3187,9 +3187,9 @@ void UI_func_at_mode(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3234,9 +3234,9 @@ void UI_func_portamento_mode(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -3254,9 +3254,9 @@ void UI_func_portamento_mode(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3303,9 +3303,9 @@ void UI_func_portamento_glissando(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -3323,9 +3323,9 @@ void UI_func_portamento_glissando(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3366,9 +3366,9 @@ void UI_func_portamento_time(uint8_t param) #if NUM_DEXED > 1 lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -3386,9 +3386,9 @@ void UI_func_portamento_time(uint8_t param) selected_instance_id = !selected_instance_id; lcd_active_instance_number(selected_instance_id); lcd.setCursor(15, 0); - lcd.write(5); + lcd.write(0); lcd.setCursor(15, 1); - lcd.write(6); + lcd.write(1); } #endif } @@ -3887,6 +3887,8 @@ void UI_func_voice_select(uint8_t param) if (LCDML.FUNC_close()) // ****** STABLE END ********* { + lcd_special_chars(SCROLLBAR); + encoderDir[ENC_R].reset(); if (selected_instance_id == 0) { @@ -4620,9 +4622,9 @@ void UI_func_save_voice(uint8_t param) lcd.print(F("Save Instance")); lcd_active_instance_number(selected_instance_id); lcd.setCursor(5, 1); - lcd.write(5); + lcd.write(0); lcd.setCursor(10, 1); - lcd.write(6); + lcd.write(1); #endif } @@ -4641,9 +4643,9 @@ void UI_func_save_voice(uint8_t param) lcd_active_instance_number(selected_instance_id); lcd.setCursor(5, 1); - lcd.write(5); + lcd.write(0); lcd.setCursor(10, 1); - lcd.write(6); + lcd.write(1); break; case 1: // Bank selection if (LCDML.BT_checkDown())