diff --git a/python_payload/cap_touch_demo.py b/python_payload/cap_touch_demo.py index 26b35f02845828620ca6c4df3c362b19dd642f12..70e99dfbcd290cd1c2a3a6b63a9f95794f58f541 100644 --- a/python_payload/cap_touch_demo.py +++ b/python_payload/cap_touch_demo.py @@ -20,7 +20,7 @@ def set_chord(i): chord_index = i for j in range(40): hue = int(72*(i+0.5)) % 360 - set_led_hsv(j, hue, 1, 0.5) + set_led_hsv(j, hue, 1, 0.2) chord = chords[i] print("set chord " +str(i)) update_leds() diff --git a/python_payload/main.py b/python_payload/main.py index 0c8163c246c36f5448c3a443be6dbe7f67b130d6..59875e6e9559631f47c7165077068b7f318ec577 100644 --- a/python_payload/main.py +++ b/python_payload/main.py @@ -86,29 +86,27 @@ def run_menu(): if long_bottom_petal_captouch_blocking(0,20): clear_all_leds() - highlight_bottom_petal(0,255,0,0) + highlight_bottom_petal(0,55,0,0) display_fill(background) display_update() foreground = cap_touch_demo.run time.sleep_ms(100) clear_all_leds() - captouch_autocalib() cap_touch_demo.foreground() if long_bottom_petal_captouch_blocking(1,20): clear_all_leds() - highlight_bottom_petal(1,255,0,0) + highlight_bottom_petal(1,55,0,0) display_fill(background) display_update() foreground = melodic_demo.run time.sleep_ms(100) clear_all_leds() - captouch_autocalib() melodic_demo.foreground() def foreground_menu(): clear_all_leds() - highlight_bottom_petal(0,0,255,255); - highlight_bottom_petal(1,255,0,255); + highlight_bottom_petal(0,0,55,55); + highlight_bottom_petal(1,55,0,55); display_fill(background) draw_text_big(select, 0, 0) display_update() diff --git a/python_payload/melodic_demo.py b/python_payload/melodic_demo.py index dbce6ac4e4cb7aa161e6d70d8f0c19514ff7b4ee..8ffee2979dd158cbfcf233259d63686ca92316bb 100644 --- a/python_payload/melodic_demo.py +++ b/python_payload/melodic_demo.py @@ -15,21 +15,21 @@ def change_playing_field_color(r,g,b): highlight_bottom_petal(1, r, g, b) highlight_bottom_petal(3, r, g, b) highlight_bottom_petal(4, r, g, b) - highlight_bottom_petal(2, 255, 0, 255) - set_led_rgb(18, 255, 0, 255) - set_led_rgb(19, 255, 0, 255) - set_led_rgb(27, 255, 0, 255) - set_led_rgb(28, 255, 0, 255) + highlight_bottom_petal(2, 55, 0, 55) + set_led_rgb(18, 55, 0, 55) + set_led_rgb(19, 55, 0, 55) + set_led_rgb(27, 55, 0, 55) + set_led_rgb(28, 55, 0, 55) update_leds() def adjust_playing_field_to_octave(): global octave if(octave == -1): - change_playing_field_color(0,0,255) + change_playing_field_color(0,0,55) elif(octave == 0): - change_playing_field_color(0,127,127) + change_playing_field_color(0,27,27) elif(octave == 1): - change_playing_field_color(0,255,0) + change_playing_field_color(0,55,0) def run(): global scale