changed file paths to new names
This commit is contained in:
parent
124df6f8d0
commit
91bd4e8a23
|
@ -19,7 +19,7 @@ while True:
|
||||||
if switch():
|
if switch():
|
||||||
pyb.delay(200) # delay avoids detection of multiple presses
|
pyb.delay(200) # delay avoids detection of multiple presses
|
||||||
blue.on() # blue LED indicates file open
|
blue.on() # blue LED indicates file open
|
||||||
log = open('1:/log.csv', 'w') # open file on SD (SD: '1:/', flash: '0/)
|
log = open('/sd/log.csv', 'w') # open file on SD (SD: '/sd/', flash: '/flash/)
|
||||||
|
|
||||||
# until switch is pressed again
|
# until switch is pressed again
|
||||||
while not switch():
|
while not switch():
|
||||||
|
|
Loading…
Reference in New Issue