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
22# A simple metal detector using a minimum number of external components
33
44# Tested with an Adafruit CLUE (Alpha) and CircuitPython 5.2.0
88# CLUE: Pad P0 is an output and pad P1 is an input
99# CPB: Pad/STEMMA A1 is an output and Pad/STEMMA A2 is an input
1010
11- # copy this file to CLUE board as code.py
11+ # copy this file to CLUE/CPB board as code.py
1212
1313# MIT License
1414
@@ -404,7 +404,7 @@ def make_sample_list(levels=10,
404404 for idx in range (len (waveforms )):
405405 start_beep (440 , waveforms , idx )
406406 time .sleep (0.1 )
407- start_beep (0 , waveforms , idx ) # This silences it
407+ start_beep (0 , waveforms , 0 ) # This silences it
408408
409409# See https://forums.adafruit.com/viewtopic.php?f=60&t=164758 for
410410# a comparison and performance analysis of alternate techniques for this
You can’t perform that action at this time.
0 commit comments