We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69289e2 commit 955e4f0Copy full SHA for 955e4f0
examples/mpr121_piano.py
@@ -17,7 +17,7 @@
17
18
# Configure PWM buzzer and other state:
19
BUZZER_PIN = board.D9
20
-TONE_ON_DUTY = 2 ** 15 # Duty cycle of tone when turned on, a square wave.
+TONE_ON_DUTY = 2**15 # Duty cycle of tone when turned on, a square wave.
21
TONE_OFF_DUTY = 0 # Duty cycle of tone when turned off, 0 or no signal.
22
NOTE_FREQS = [
23
261, # Input 0 = 261 hz = middle C
0 commit comments