Hi,
when a file DONT exists it will be created on the sd card.
When you write a line into the file with writeBytes , the line is two times (doubled)
in the file.
The sd.CurrentFile.Size shows in that moment : 11 bytes
correct should be 0 bytes.
This only happens when you run the sketch from b4r IDE.
When you delete the file on the sd card again , and start the Adri. Uno alone, like pushing the reset button, it works fine.
The sd.CurrentFile.Size shows in that moment : 0 bytes, thats...
Writing data to a sd card
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1smhyJd
via IFTTT
lundi 30 mai 2016
Writing data to a sd card
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire