GY-63_MS5611/libraries/PrintCharArray/examples/printCharArray1/printCharArray1.ino
2021-12-24 13:08:51 +01:00

39 lines
600 B
C++

//
// FILE: printCharArray1.ino
// AUTHOR: Rob Tillaart
// PURPOSE: demo
// URL: https://github.com/RobTillaart/PrintCharArray
#include "PrintCharArray.h"
PrintCharArray ps;
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println(ps.available());
ps.println("Hello World");
Serial.println(ps.available());
ps.println(3.14159265, 4);
Serial.println(ps.available());
Serial.println(ps.getBuffer());
ps.clear();
ps.println(3.14159265, 4);
ps.println("Hello World");
Serial.println(ps.getBuffer());
}
void loop()
{
}
// -- END OF FILE --