vinculum II pendrive interfacing
zaftblitz
Posts: 3
i want to ask about the viculum II. want i want to do is to read some file in the usb pendrive. but what i want to do is, i want it to saperate into some folder. i manage to read/write file without the folder but when the file is in the folder and i want to write the file into the folder, it cannot be done. i had already go though the other forum, example, etc, but still cannot solve for this vinculum.
for example, i want to read 001.txt on 001 folder (F:\00\001\001.txt)
but when i tried it , cannot give the output that i want. i'm using fopen, fread,fwrite on the stdio library. so how i want to read/write the 001.txt file?
*sorry for the broken english
for example, i want to read 001.txt on 001 folder (F:\00\001\001.txt)
but when i tried it , cannot give the output that i want. i'm using fopen, fread,fwrite on the stdio library. so how i want to read/write the 001.txt file?
*sorry for the broken english
Comments
If you are using the VDrive 2, I have had some experience with that. I have found the 'DataloggerSPI' object from the Object Exchange found at http://obex.parallax.com/objects/237/ very useful. For this to work, you will need to set the VDrive 2 to SPI mode. The object can show you how to move from one directory to another. I have used this and found it very successful. The only problems I have with the VDrive 2 is the amount of current it consumes. Programming it was a breeze!