From b5ac3b006a2d8f3b62f089850927dfc92ae2b3a7 Mon Sep 17 00:00:00 2001 From: Christoph Schneeberger Date: Sat, 16 Mar 2019 13:47:47 +0100 Subject: [PATCH] bah! --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 89d3e66..0a78bf0 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Dec8s(any signed expr);, same of course Dec16u(); and Dec16s(); Code size has been obtained by calling one function at a time, compiler under the usual -0s mode. Size is the difference with the empty file size. TerSer.h can of course be used with setup() and loop(). It add the ~300 bytes Arduino initializations. Execution time has been measured with a Nop replacing the SendCar function. The time depends on the baud rate, ~1 ms per character displayed at 9600 bits/s. -| ```//TerSer.ino Terminal série 174b 0v +```//TerSer.ino Terminal série 174b 0v #include "TerSer.h" int main() { SetupTerSer(); @@ -74,7 +74,8 @@ while(1) { add 174b for total size // max 14 variables } // end while(1) -} // end main() ``` | ```// PrintArdui vide 1426b 184v +} // end main() ``` +```// PrintArdui vide 1426b 184v void setup() { Serial.begin(9600); } @@ -88,5 +89,5 @@ void loop() { add 1426b for program size // Serial.println(12345); // 286 188v for(;;); -} ``` | +} ```