Articles Posted by the Author:

  • Serial

    Serial

    Used for communication between the 86Duino board and a computer or other devices. All 86Duino boards have at least one serial port (also known as a UART or USART): Serial1. It communicates on digital pins 0 (RX) and 1 (TX) as well as with the computer (via a TTL USB-to-serial adaptor). Thus, if you use […]


  • Stream

    Stream

    Stream is the base class for character and binary based streams. It is not called directly, but invoked whenever you use a function that relies on it. Stream defines the reading functions in 86Duino. When using any core functionality that uses a read() or similar method, you can safely assume it calls on the Stream […]


  • attachInterrupt()

    attachInterrupt()

    Description Specifies a named Interrupt Service Routine (ISR) to call when an interrupt occurs. Replaces any previous function that was attached to the interrupt. Most 86Duino boards have three external interrupts: numbers 0 (on digital pin 42), 1 (on digital pin 43) and 2 (on digital pin 44). The following table below shows the available […]


  • bit()

    bit()

    Description Computes the value of the specified bit (bit 0 is 1, bit 1 is 2, bit 2 is 4, etc.). Syntax bit(n) Parameters n: the bit whose value to compute Returns the value of the bit See also - bitRead() - bitWrite() - bitSet() - bitClear() Language Reference Home The text of the 86Duino […]


  • bitClear()

    bitClear()

    Description Clears (writes a 0 to) a bit of a numeric variable. Syntax bitClear(x, n) Parameters x: the numeric variable whose bit to clear n: which bit to clear, starting at 0 for the least-significant (rightmost) bit Returns none See also - bit() - bitRead() - bitWrite() - bitSet() Language Reference Home The text of […]


  • bitSet()

    bitSet()

    Description Sets (writes a 1 to) a bit of a numeric variable. Syntax bitSet(x, n) Parameters x: the numeric variable whose bit to set n: which bit to set, starting at 0 for the least-significant (rightmost) bit Returns none See also - bit() - bitRead() - bitWrite() - bitClear() Language Reference Home The text of […]


  • bitWrite()

    bitWrite()

    Description Writes a bit of a numeric variable. Syntax bitWrite(x, n, b) Parameters x: the numeric variable to which to write n: which bit of the number to write, starting at 0 for the least-significant (rightmost) bit b: the value to write to the bit (0 or 1) Returns none See also - bit() - […]


  • bitRead()

    bitRead()

    Description Reads a bit of a number. Syntax bitRead(x, n) Parameters x: the number from which to read n: which bit to read, starting at 0 for the least-significant (rightmost) bit Returns the value of the bit (0 or 1). See also - bit() - bitWrite() - bitSet() - bitClear() Language Reference Home The text […]


  • highByte()

    highByte()

    Description Extracts the high-order (leftmost) byte of a word (or the second lowest byte of a larger data type). Syntax highByte(x) Parameters x: a value of any type Returns byte See also - lowByte() - word() Language Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed […]


  • lowByte()

    lowByte()

    Description Extracts the low-order (rightmost) byte of a variable (e.g. a word). Syntax lowByte(x) Parameters x: a value of any type Returns byte See also - highByte() - word() 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. […]