Articles Posted by the Author:

  • volatile

    volatile

    volatile is a keyword known as a variable qualifier, it is usually used before the datatype of a variable, to modify the way in which the compiler and subsequent program treats the variable. Declaring a variable volatile is a directive to the compiler. The compiler is software which translates your C/C++ code into the machine […]


  • Static

    Static

    The static keyword is used to create variables that are visible to only one function. However unlike local variables that get created and destroyed every time a function is called, static variables persist beyond the function call, preserving their data between function calls. Variables declared as static will only be created and initialized the first […]


  • Variable Scope

    Variable Scope

    Variables in the C programming language, which 86Duino uses, have a property called scope. This is in contrast to early versions of languages such as BASIC where every variable is a global variable. A global variable is one that can be seen by every function in a program. Local variables are only visible to the […]


  • float()

    float()

    Description Converts a value to the float data type. Syntax float(x) Parameters x: a value of any type Returns float Notes See the reference for float for details about the precision and limitations of floating point numbers on 86Duino. See also - float Language Reference Home The text of the 86Duino reference is a modification […]


  • long()

    long()

    Description Converts a value to the long data type. Syntax long(x) Parameters x: a value of any type Returns long See also - long 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 […]


  • word()

    word()

    Description Convert a value to the word data type or create a word from two bytes. Syntax word(x) word(h, l) Parameters x: a value of any type h: the high-order (leftmost) byte of the word l: the low-order (rightmost) byte of the word Returns word See also - word Language Reference Home The text of […]


  • int()

    int()

    Description Converts a value to the int data type. Syntax int(x) Parameters x: a value of any type Returns int See also - int 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 […]


  • byte()

    byte()

    Description Converts a value to the byte data type. Syntax byte(x) Parameters x: a value of any type Returns byte See also - byte 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 […]


  • char()

    char()

    Description Converts a value to the char data type. Syntax char(x) Parameters x: a value of any type Returns char See also - char 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 […]


  • Arrays

    Arrays

    An array is a collection of variables that are accessed with an index number. Arrays in the C programming language, on which 86Duino is based, can be complicated, but using simple arrays is relatively straightforward. Creating (Declaring) an Array All of the methods below are valid ways to create (declare) an array. You can declare […]