Update tap.py
This commit is contained in:
parent
6547d12093
commit
7c32293189
1 changed files with 1 additions and 5 deletions
4
tap.py
4
tap.py
|
@ -1,10 +1,6 @@
|
||||||
import tkinter as tk
|
import tkinter as tk
|
||||||
import time
|
import time
|
||||||
|
|
||||||
# Create a small widget that calculates BPM based on mouse clicks or space bar taps
|
|
||||||
# The widget should have a label that displays the current BPM
|
|
||||||
# The widget should have a button that starts and stops the BPM calculation
|
|
||||||
|
|
||||||
click_times = [] # to store click times
|
click_times = [] # to store click times
|
||||||
bpm = 0 # to store bpm
|
bpm = 0 # to store bpm
|
||||||
running = False # to store if the widget is running
|
running = False # to store if the widget is running
|
||||||
|
|
Loading…
Reference in a new issue