summaryrefslogtreecommitdiffstatshomepage
path: root/examples/SDdatalogger
diff options
context:
space:
mode:
Diffstat (limited to 'examples/SDdatalogger')
-rw-r--r--examples/SDdatalogger/datalogger.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/SDdatalogger/datalogger.py b/examples/SDdatalogger/datalogger.py
index 6123db7d27..0690c20bb9 100644
--- a/examples/SDdatalogger/datalogger.py
+++ b/examples/SDdatalogger/datalogger.py
@@ -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():