Description Check if there are any bytes available for reading from the file. available() inherits from the Stream utility class. Syntax file.available() Parameters file: an instance of the File class (returned by SD.open()) Returns the number of bytes available (int) See Also - read() - peek() - Stream.available() Libraries Reference Home The text of the […]
Description Remove a directory from the SD card. The directory must be empty. Syntax SD.rmdir(dir_name) Parameters dir_name: the name of the directory to remove, with sub-directories separated by forward-slashes, / Returns true if the removal of the directory succeeded, false if not. (if the directory didn’t exist, the return value is unspecified) See also - […]
Description Remove a file from the SD card. Syntax SD.remove(filename) Parameters filename: the name of the file to remove, which can include directories (delimited by forward-slashes, /) Returns true if the removal of the file succeeded, false if not. (if the file didn’t exist, the return value is unspecified) See also - rmdir() Libraries Reference […]
Description Opens a file on the SD card. If the file is opened for writing, it will be created if it doesn’t already exist (but the directory containing it must already exist). Syntax SD.open(filepath) SD.open(filepath, mode) Parameters filename: the name the file to open, which can include directories (delimited by forward slashes, /) – char […]
This is a guide to getting the 86Duino first working under Windows XP. For more information, see: Getting Started w/ 86Duino on Windows. (Back to Getting Started w/ 86Duino on Windows page) Getting-Started Home The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.
Description Create a directory on the SD card. This will also create any intermediate directories that don’t already exists; e.g. SD.mkdir("a/b/c") will create a, a/b, and a/b/c. Syntax SD.mkdir(dir_name) Parameters dir_name: the name of the directory to create, with sub-directories separated by forward-slashes, / Returns true if the creation of the directory succeeded, false if […]
Description Tests whether a file or directory exists on the SD card. Syntax SD.exists(filename) Parameters filename: the name of the file to test for existence, which can include directories (delimited by forward-slashes, /) Returns true if the file or directory exists, false if not Libraries Reference Home The text of the 86Duino reference is a […]
Description Initializes the SD library and card. Syntax SD.begin() SD.begin(cspin) Parameters cspin (optional): this parameter is unused on 86Duino, and is reserved here just for the purpose of compatibility to Arduino’s SD library. Returns true on success; false on failure Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino […]
Description Create a custom character (gylph) for use on the LCD. Up to eight characters of 5×8 pixels are supported (numbered 0 to 7). The appearance of each custom character is specified by an array of eight bytes, one for each row. The five least significant bits of each byte determine the pixels in that […]
Description Set the direction for text written to the LCD to right-to-left (the default is left-to-right). This means that subsequent characters written to the display will go from right to left, but does not affect previously-output text. Syntax lcd.rightToLeft() Parameters lcd: a variable of type LiquidCrystal See also - leftToRight() Libraries Reference Home The text […]