Update tap.py

This commit is contained in:
Tristan 2024-07-22 12:31:09 -04:00 committed by GitHub
parent 6547d12093
commit 7c32293189
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

4
tap.py
View file

@ -1,10 +1,6 @@
import tkinter as tk
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
bpm = 0 # to store bpm
running = False # to store if the widget is running