Skip to content
Snippets Groups Projects
Commit 91bd4e8a authored by Sebastian Plamauer's avatar Sebastian Plamauer Committed by Damien George
Browse files

changed file paths to new names

parent 124df6f8
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ while True: ...@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment