Articles Posted by the Author:

  • Wire.available()

    Wire.available()

    Description Returns the number of bytes available for retrieval with read(). This should be called on a master device after a call to requestFrom() or on a slave inside the onReceive() handler. available() inherits from the Stream utility class. Parameters None Returns The number of bytes available for reading. See also - Wire.read() - Stream.available() […]


  • write()

    write()

    Description Writes data from a slave device in response to a request from a master, or queues bytes for transmission from a master to slave device (in-between calls to beginTransmission() and endTransmission()). Syntax Wire.write(value) Wire.write(string) Wire.write(data, length) Parameters value: a value to send as a single byte string: a string to send as a series […]


  • Wire.endTransmission()

    Wire.endTransmission()

    Description Ends a transmission to a slave device that was begun by beginTransmission() and transmits the bytes that were queued by write(). endTransmission() accepts a boolean argument (stop) changing its behavior for compatibility with certain I2C devices. If true, endTransmission() sends a stop message after transmission, releasing the I2C bus. If false, endTransmission() sends a […]


  • Wire.beginTransmission(address)

    Wire.beginTransmission(address)

    Description Begin a transmission to the I2C slave device with the given address. Subsequently, queue bytes for transmission with the write() function and transmit them by calling endTransmission(). Parameters address: the 7-bit address of the device to transmit to Returns None See also - Wire.write() - Wire.endTransmission() Libraries Reference Home The text of the 86Duino […]


  • Wire.requestFrom()

    Wire.requestFrom()

    Description Used by the master to request bytes from a slave device. The bytes may then be retrieved with the available() and read() functions. requestFrom() accepts a boolean argument (stop) changing its behavior for compatibility with certain I2C devices. If true, requestFrom() sends a stop message after the request, releasing the I2C bus. If false, […]


  • Wire.begin(), Wire.begin(address)

    Wire.begin(), Wire.begin(address)

    Description Initiate the Wire library and join the I2C bus as a master or slave. This should normally be called only once. Parameters address: the 7-bit slave address (optional); if not specified, join the bus as a master. Returns None Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino […]


  • remotePort()

    remotePort()

    Description Gets the port of the remote UDP connection. This function must be called after UDP.parsePacket(). Syntax UDP.remotePort(); Parameters None Returns The port of the host who sent the current incoming packet Libraries Reference Home The text of the 86Duino reference is a modification of the 86Duino reference, and is licensed under a Creative Commons […]


  • remoteIP()

    remoteIP()

    Description Gets the IP address of the remote connection. This function must be called after WiFiUDP.parsePacket(). Syntax WiFiUDP.remoteIP(); Parameters None Returns 4 bytes : the IP address of the host who sent the current incoming packet Libraries Reference Home The text of the 86Duino reference is a modification of the 86Duino reference, and is licensed […]


  • stop()

    stop()

    Description Disconnect from the server. Release any resource being used during the UDP session. Syntax WiFiUDP.stop() Parameters none Returns none Libraries Reference Home The text of the 86Duino reference is a modification of the 86Duino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the […]


  • flush()

    flush()

    Description Discard any bytes that have been written to the client but not yet read. flush() inherits from the Stream utility class. Syntax WiFiUDP.flush() Parameters none Returns none See also - Stream.flush() Libraries Reference Home The text of the 86Duino reference is a modification of the 86Duino reference, and is licensed under a Creative Commons […]