2021-11-13 16:35:33 +01:00

41 lines
621 B
C++

//
// FILE: printCharArray1.ino
// AUTHOR: Rob Tillaart
// VERSION: 0.3.0
// 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 --