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 96
96
clue_data [1 ].text = "Target: --"
97
97
clue_data [1 ].color = ((0 , 0 , 80 ))
98
98
else :
99
- #print("pct target", pct_target)
100
- #time.sleep(0.1)
101
- #print("bpm", bpm)
102
-
103
99
clue_data [0 ].text = "BPM: {0:d}" .format (bpm )
104
100
clue_data [0 ].color = clue .RED
105
101
115
111
clue_data [3 ].color = clue .BLUE
116
112
clue_data .show ()
117
113
118
-
119
114
if alarm and alarm_enable :
120
115
clue .start_tone (2000 )
121
116
else :
122
117
clue .stop_tone ()
123
118
124
119
# Inputs
125
120
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
127
125
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
130
130
131
131
if clue .touch_0 :
132
132
alarm_enable = False
You can’t perform that action at this time.
0 commit comments