File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 9696 clue_data [1 ].text = "Target: --"
9797 clue_data [1 ].color = ((0 , 0 , 80 ))
9898 else :
99- #print("pct target", pct_target)
100- #time.sleep(0.1)
101- #print("bpm", bpm)
102-
10399 clue_data [0 ].text = "BPM: {0:d}" .format (bpm )
104100 clue_data [0 ].color = clue .RED
105101
115111 clue_data [3 ].color = clue .BLUE
116112 clue_data .show ()
117113
118-
119114 if alarm and alarm_enable :
120115 clue .start_tone (2000 )
121116 else :
122117 clue .stop_tone ()
123118
124119 # Inputs
125120 if clue .button_a :
126- max_rate = max_rate - 1
121+ if clue .touch_2 : # hold cap touch 2 for bigger change rate
122+ max_rate = max_rate - 10
123+ else :
124+ max_rate = max_rate - 1
127125 if clue .button_b :
128- max_rate = max_rate + 1
129-
126+ if clue .touch_2 :
127+ max_rate = max_rate + 10
128+ else :
129+ max_rate = max_rate + 1
130130
131131 if clue .touch_0 :
132132 alarm_enable = False
You can’t perform that action at this time.
0 commit comments