Articles Posted in the " " Category

  • #include

    #include

    #include is used to include outside libraries in your sketch. This gives the programmer access to a large group of standard C libraries (groups of pre-made functions), and also libraries written especially for 86Duino. The main reference page for DJGPP C libraries (DJGPP is the compiler that the 86Duino uses) is here. Note that #include, […]


  • analogReference(type)

    analogReference(type)

    Description For Arduino, this function is used to configure the reference voltage used for analog input. But for 86Duino, this function is not supported and thus does nothing when called. (This function is reserved by 86Duino for the compatibility to Arduino sketches.) Parameters type: which type of reference to use (DEFAULT, INTERNAL, INTERNAL1V1, INTERNAL2V56, or […]







  • % (modulo)

    % (modulo)

      % (modulo) Description Calculates the remainder when one integer is divided by another. It is useful for keeping a variable within a particular range (e.g. the size of an array). Syntax result = dividend % divisor Parameters dividend: the number to be divided divisor: the number to divide by Returns the remainder Examples x […]