File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- # clue-metal-detector v1.4
1
+ # clue-metal-detector v1.5
2
2
# A simple metal detector using a minimum number of external components
3
3
4
4
# Tested with an Adafruit CLUE (Alpha) and CircuitPython 5.2.0
8
8
# CLUE: Pad P0 is an output and pad P1 is an input
9
9
# CPB: Pad/STEMMA A1 is an output and Pad/STEMMA A2 is an input
10
10
11
- # copy this file to CLUE board as code.py
11
+ # copy this file to CLUE/CPB board as code.py
12
12
13
13
# MIT License
14
14
@@ -404,7 +404,7 @@ def make_sample_list(levels=10,
404
404
for idx in range (len (waveforms )):
405
405
start_beep (440 , waveforms , idx )
406
406
time .sleep (0.1 )
407
- start_beep (0 , waveforms , idx ) # This silences it
407
+ start_beep (0 , waveforms , 0 ) # This silences it
408
408
409
409
# See https://forums.adafruit.com/viewtopic.php?f=60&t=164758 for
410
410
# a comparison and performance analysis of alternate techniques for this
You can’t perform that action at this time.
0 commit comments