Articles Posted by the Author:

  • flush()

    flush()

    Description Waits for the transmission of outgoing serial data to complete. flush() inherits from the Stream utility class. Syntax All boards: Serial.flush() Serial1.flush() 86Duino One specific: Serial2.flush() Serial3.flush() Serial485.flush() 86Duino EduCake specific: Serial2.flush() Serial3.flush() Serial232.flush() Parameters none Returns nothing See also - Serial - available() - begin() - end() - find() - findUntil() - parseFloat() […]


  • Serial.findUntil()

    Serial.findUntil()

    Description Serial.findUntil() reads data from the serial buffer until a target string of given length or terminator string is found. The function returns true if the target string is found, false if it times out. Serial.findUntil() inherits from the Stream utility class. Syntax Serial.findUntil(target, terminal) Parameters target : the string to search for (char string) […]


  • Serial.find()

    Serial.find()

    Description Serial.find() reads data from the serial buffer until the target string of given length is found. The function returns true if target string is found, false if it times out. Serial.find() inherits from the Stream utility class. Syntax Serial.find(target) Parameters target : the string to search for (char string) Returns boolean See also - […]


  • end()

    end()

    Description Disables serial communication, allowing the RX and TX pins to be used for general input and output. To re-enable serial communication, call Serial.begin(). Syntax All boards: Serial.end() Serial1.end() 86Duino One/EduCake specific: Serial2.end() Serial3.end() Parameters none Returns nothing See also - Serial - available() - begin() - find() - findUntil() - flush() - parseFloat() - […]


  • begin()

    begin()

    Description Sets the data rate in bits per second (baud) for serial data transmission. For communicating with the computer, use one of these rates: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 57600, or 115200. You can, however, specify other rates – for example, to communicate over pins 0 and 1 with a […]


  • available()

    available()

    Description Get the number of bytes (characters) available for reading from the serial port. This is data that’s already arrived and stored in the serial receive buffer (which holds 4096 bytes). available() inherits from the Stream utility class. Syntax All boards: Serial.available() Serial1.available() 86Duino One specific: Serial2.available() Serial3.available() Serial485.available() 86Duino EduCake specific: Serial2.available() Serial3.available() Serial232.available() […]


  • if (Serial)

    if (Serial)

    Description Indicates if the specified Serial port is ready. On all 86Duino boards, if (Serial) indicates whether or not the USB CDC serial connection is open. For all other instances of real serial ports (UART), including if (Serial1), this will always returns true. Syntax All boards: if (Serial) if (Serial1) 86Duino One specific: if (Serial2) […]


  • noInterrupts()

    noInterrupts()

    Description Disables interrupts (you can re-enable them with interrupts()). Interrupts allow certain important tasks to happen in the background and are enabled by default. Some functions will not work while interrupts are disabled, and incoming communication may be ignored. Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical […]


  • detachInterrupt()

    detachInterrupt()

    Description Turns off the given interrupt. Syntax detachInterrupt(interrupt) Parameters interrupt: the number of the interrupt to disable (see attachInterrupt() for more details). See also - attachInterrupt() 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 […]


  • interrupts()

    interrupts()

    Description Re-enables interrupts (after they’ve been disabled by noInterrupts()). Interrupts allow certain important tasks to happen in the background and are enabled by default. Some functions will not work while interrupts are disabled, and incoming communication may be ignored. Interrupts can slightly disrupt the timing of code, however, and may be disabled for particularly critical […]