master
parent 0492cc6412
commit d298d26814

@ -4,11 +4,11 @@ A much smaller and more efficient serial library than Arduinos Serial by [Didel]
Use one include file to replace the Serial.print from Arduino library.
**Table of Contents**
[What is the problem with Arduino Serial.print ?](#what-is-the-problem-with-arduino-serialprint-)
[How to switch from Arduino Serial](#howto-switch-from-arduino-serial)
[Installation](#terser-installation)
[TerSer Limitations](#terser-limitations)
[Function reference](#function-reference)
[What is the problem with Arduino Serial.print ?](#what-is-the-problem-with-arduino-serialprint-)
[How to switch from Arduino Serial](#howto-switch-from-arduino-serial)
[Installation](#terser-installation)
[TerSer Limitations](#terser-limitations)
[Function reference](#function-reference)
### What is the problem with Arduino Serial.print ?
Serial.print is is most of the time used as a debugging tool, and with limited resources it is even more important to have the most lighweight solution for this task.
@ -38,20 +38,16 @@ Voila, you have switched to TerSer and enjoy smaller footprint at less mcu cycle
#### Function aliasing
If you do not like our function/method names, feel free to define names that suit your tastes with i.e.:
`#define Serialprint(x) Text(x)`
`#define Serialprint(x,BIN) Bin8(x)`
`#define Serialprint(x,BIN) Bin16(x)`
`#define Serialprint(x) Dec16(x)`
`#define Serialprint(x) Text(x)`
`#define Serialprint(x,BIN) Bin8(x)`
`#define Serialprint(x,BIN) Bin16(x)`
`#define Serialprint(x) Dec16(x)`
etc.
### TerSer Installation
Go to library manager in your Arduino IDE and search for 'TerSer'.
Alternatively just download the TerSer.h into your sketch folder and include it directly from your sketch folder with:
Alternatively just download the TerSer.h into your sketch folder and include it directly from your sketch folder with:
`#include "TerSer.h"`

Loading…
Cancel
Save