Articles Posted in the " " Category

  • parseFloat()

    parseFloat()

    Description parseFloat() returns the first valid floating point number from the current position. Initial characters that are not digits (or the minus sign) are skipped. parseFloat() is terminated by the first character that is not a floating point number. This function is part of the Stream class, and is called by any class that inherits […]


  • parseInt()

    parseInt()

    Description parseInt() returns the first valid (long) integer number from the current position. Initial characters that are not integers (or the minus sign) are skipped. parseInt() is terminated by the first character that is not a digit. This function is part of the Stream class, and is called by any class that inherits from it […]


  • readStringUntil()

    readStringUntil()

    Description readStringUntil() reads characters from a stream into a string. The function terminates if the terminator character is detected or it times out (see setTimeout()). This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.readString(terminator) Parameters stream : an instance of a […]


  • readString()

    readString()

    Description readString() reads characters from a stream into a string. The function terminates if it times out (see setTimeout()). This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.readString() Parameters stream : an instance of a class that inherits from Stream. Returns […]


  • readBytesUntil()

    readBytesUntil()

    Description readBytesUntil() reads characters from a stream into a buffer. The function terminates if the terminator character is detected, the determined length has been read, or it times out (see setTimeout()). readBytesUntil() returns the number of bytes placed in the buffer. A 0 means no valid data was found. This function is part of the […]


  • readBytes()

    readBytes()

    Description readBytes() read characters from a stream into a buffer. The function terminates if the determined length has been read, or it times out (see setTimeout()). readBytes() returns the number of bytes placed in the buffer. A 0 means no valid data was found. This function is part of the Stream class, and is called […]


  • peek()

    peek()

    Description Read a byte from the file without advancing to the next one. That is, successive calls to peek() will return the same value, as will the next call to read(). This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.peek() Parameters […]


  • findUntil()

    findUntil()

    Description findUntil() reads data from the stream until the target string of given length or terminator string is found. The function returns true if target string is found, false if timed out This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.findUntil(target, […]


  • find()

    find()

    Description find() reads data from the stream until the target string of given length is found The function returns true if target string is found, false if timed out. This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.find(target) Parameters stream : […]


  • flush()

    flush()

    Description flush() clears the buffer once all outgoing characters have been sent. This function is part of the Stream class, and is called by any class that inherits from it (Wire, Serial, etc). Syntax stream.flush() Parameters stream : an instance of a class that inherits from Stream. Returns boolean See also - Stream Language Reference […]