0

open file for write
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

open file for write

by Imrek on Wed Apr 25, 2018 9:11 am

Good morning,

I am having trouble opening a file for write in CircuitPython in the itsyBitsy Mo Express. I get a system 30 error message. I am able to open files for reading just fine.

thanks

Imrek
 
Posts: 1
Joined: Wed Apr 25, 2018 9:03 am

Re: open file for write

by jerryn on Wed Apr 25, 2018 10:04 am

The Circuit Python Files system is normally Read Only since you can either write to the Mounted USB drive (CIRCUITPY) or write to the File system within CircuitPython but not both at the same time. This guide explains how to remount the FS for writing via Circuit Python:
https://learn.adafruit.com/circuitpython-essentials?view=all#circuitpython-storage

I hope that helps.

jerryn
 
Posts: 1539
Joined: Sat Sep 14, 2013 9:05 am

Please be positive and constructive with your questions and comments.