Articles Posted by the Author:

  • charAt()

    charAt()

    Description Access a particular character of the String. Syntax string.charAt(n) Parameters string: a variable of type String n: the character to access Returns the n‘th character of the String See also - String - setCharAt() - [] (element access) Language Reference Home The text of the 86Duino reference is a modification of the Arduino reference, […]


  • String()

    String()

    Description Constructs an instance of the String class. There are multiple versions that construct Strings from different data types (i.e. format them as sequences of characters), including: a constant string of characters, in double quotes (i.e. a char array) a single constant character, in single quotes another instance of the String object a constant integer […]


  • Functions

    Functions

    Segmenting code into functions allows a programmer to create modular pieces of code that perform a defined task and then return to the area of code from which the function was “called”. The typical case for creating a function is when one needs to perform the same action multiple times in a program. For programmers […]


  • Variable Declaration

    Variable Declaration

    A variable is a way of naming and storing a value for later use by the program, such as data from a sensor or an intermediate value used in a calculation. Declaring Variables Before they are used, all variables have to be declared. Declaring a variable means defining its type, and optionally, setting an initial […]


  • double()

    double()

    Description Converts a value to the double data type. Syntax double(x) Parameters x: a value of any type Returns double See also - double Language Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference […]


  • long double

    long double

    Description The 86Duino supports long double, an 80-bit “double extended” format of floating-point numbers. The double extended format has a range from approximately 3.65E−4951 to 1.18E+4932, but it was designed not to store data at higher precision as such, but rather primarily to allow for the computation of double results more reliably and accurately by […]


  • parseFloat()

    parseFloat()

    Description parseFloat() returns the first valid floating point number from the current position. Initial characters that are not digits (or the minus sign) are skipped. parseFloat() is terminated by the first character that is not a floating point number. This function is part of the Stream class, and is called by any class that inherits […]


  • parseInt()

    parseInt()

    Description parseInt() returns the first valid (long) integer number from the current position. Initial characters that are not integers (or the minus sign) are skipped. parseInt() is terminated by the first character that is not a digit. This function is part of the Stream class, and is called by any class that inherits from it […]


  • readStringUntil()

    readStringUntil()

    Description readStringUntil() reads characters from a stream into a string. The function terminates if the terminator character is detected or it times out (see setTimeout()). This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.readString(terminator) Parameters stream : an instance of a […]


  • readString()

    readString()

    Description readString() reads characters from a stream into a string. The function terminates if it times out (see setTimeout()). This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.readString() Parameters stream : an instance of a class that inherits from Stream. Returns […]