Skip to content

Commit b37cc78

Browse files
committed
updating cassette code
Fixing a minor bug - variable definition before the loop
1 parent 5275ab1 commit b37cc78

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Cassette_Player_Mod_L9110/code.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
# variables for warble switch
2929
i = 0.4
3030
last_i = 0.4
31+
pos = False
32+
neg = False
3133

3234
while True:
3335
# map range of pot to range of motor speed

0 commit comments

Comments
 (0)