Shop OBEX P1 Docs P2 Docs Learn Events
How do I get "blocks" of data from SD card using FSRW? — Parallax Forums

How do I get "blocks" of data from SD card using FSRW?

Don MDon M Posts: 1,652
edited 2012-09-27 16:31 in Propeller 1
Let's say that I have a data file on the SD card that is 128K bytes in size. I want to be able to "scroll" through the data.

I know I can use this:
  \sd.pread(@bufsdw[0], 256) 


to read the first 256 bytes from the card and store it in the buffer called "bufsdw". How do I get the next 256 bytes and so on up to the 128K end?

Comments

Sign In or Register to comment.