GY-63_MS5611/libraries/PrintString
2021-01-29 12:31:58 +01:00
..
.github/workflows 2021-01-29 2021-01-29 12:31:58 +01:00
examples/printString 2021-01-29 2021-01-29 12:31:58 +01:00
test 2021-01-29 2021-01-29 12:31:58 +01:00
.arduino-ci.yml 2021-01-29 2021-01-29 12:31:58 +01:00
keywords.txt 2021-01-29 2021-01-29 12:31:58 +01:00
library.json 2021-01-29 2021-01-29 12:31:58 +01:00
library.properties 2021-01-29 2021-01-29 12:31:58 +01:00
LICENSE 2021-01-29 2021-01-29 12:31:58 +01:00
PrintString.h 2021-01-29 2021-01-29 12:31:58 +01:00
README.md 2021-01-29 2021-01-29 12:31:58 +01:00

Arduino CI License: MIT GitHub release

PrintString

Arduino library to print to a String

Description

PrintString is a class that buffers a number of print statements in a String. This String can be requested to process later.

  • buffer slowly generated data, and send it with minimum time between bytes e.g. to maximize packets for ethernet
  • print to buffer to see how many chars the output is; use to prevent "display line overflow" (e.g. floats)

Interface

  • PrintString() constructor
  • size_t write(uint8_t c) workhorse of Print interface.
  • void clear() wipes the internal String buffer
  • int size() current usage of the buffer
  • String getString() to access the buffer.

Operational

See examples