From d298d26814bc3298e6fb7d97e189378229849d07 Mon Sep 17 00:00:00 2001 From: Christoph Schneeberger Date: Sun, 24 Mar 2019 14:48:55 +0100 Subject: [PATCH] md fixes --- README.md | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e0296ed..7c77aa9 100644 --- a/README.md +++ b/README.md @@ -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"`