Modifications

Sauter à la navigation Sauter à la recherche
1 621 octets ajoutés ,  27 novembre 2013 à 12:14
Page créée avec « {{Arduino Yun-NAV}} <h4>FileIO</h4> == Description == {{bloc-etroit|text=FileIO is the base class for writing and reading to a SD card mounted on the Yún. It is part of Br... »
{{Arduino Yun-NAV}}

<h4>FileIO</h4>

== Description ==
{{bloc-etroit|text=FileIO is the base class for writing and reading to a SD card mounted on the Yún. It is part of Bridge. It is not called directly, but invoked whenever you use a function that relies on it.

To prepare your SD card for writing and reading, create an empty folder in the SD root named "arduino". This will ensure that the Yún will create a link to the SD to the "/mnt/sd" path. }}

== Fonctions==
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-FileSystem.begin|FileSystem.begin()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-FileSystem.open|FileSystem.open()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-FileSystem.exists|FileSystem.exists()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-FileSystem.mkdir|FileSystem.mkdir()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-FileSystem.rmdir|FileSystem.rmdir()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-FileSystem.remove|FileSystem.remove()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-File|File|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-close|close()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-rewindDirectory|rewindDirectory()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-openNextFile|openNextFile()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-seek|seek()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-position|position()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-size|size()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-available|available()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-read|read()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-write|write()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-peek|peek()|}}
* {{ARDFunc2|RB-ARD-YUN-FileIO-Func-flush|flush()|}}

{{Arduino Yun-TRAILER}}
29 917

modifications

Menu de navigation