microsoft / pxt-filesystem

File system - beta
https://pxt.microbit.org/pkg/microsoft/pxt-filesystem
MIT License
28 stars 18 forks source link

Need block for sequential file read #7

Open rharbird opened 7 years ago

rharbird commented 7 years ago

Hello,

I am recording data from sensors attached to a microbit and storing the values in a csv format file. I can cause the microbit to dump the file to the serial port on demand (which is very useful).

I would like to be able to read through a file sequentially, assigning the next line of the file to a variable. If this were possible, I could transmit the data using either radio or bluetooth.

I don't have an urgent need for this but it would make the pxt solution more complete.

Rae

harveytwyman commented 7 years ago

Can you show me some example code as I can't get anything to come out of the serial.

davorradic commented 5 years ago

Can you show me some example code as I can't get anything to come out of the serial.