GY-63_MS5611/libraries/PrintCharArray/examples/printCharArray1/printCharArray1.ino

40 lines
653 B
Arduino
Raw Normal View History

2017-12-09 14:39:12 -05:00
//
// FILE: printCharArray1.ino
// AUTHOR: Rob Tillaart
// VERSION: 0.1.0
// PURPOSE: demo
2020-11-27 05:28:57 -05:00
// URL: https://github.com/RobTillaart/PrintCharArray
2017-12-09 14:39:12 -05:00
//
// HISTORY:
// 0.1.0 2017-12-07 initial version
//
#include "PrintCharArray.h"
PrintCharArray ps;
void setup()
{
Serial.begin(115200);
Serial.println(__FILE__);
Serial.println(ps.free());
ps.println("Hello World");
Serial.println(ps.free());
ps.println(3.14159265, 4);
Serial.println(ps.free());
Serial.println(ps.getBuffer());
ps.clear();
ps.println(3.14159265, 4);
ps.println("Hello World");
Serial.println(ps.getBuffer());
}
void loop()
{
}
2020-11-27 05:28:57 -05:00
// -- END OF FILE --