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
Branches
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ while True:
if switch():
pyb.delay(200) # delay avoids detection of multiple presses
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
while not switch():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment