From 5c9e7cb5d2efb9f9fcf5f4246d238da666474e7d Mon Sep 17 00:00:00 2001 From: Christoph Schneeberger Date: Sat, 16 Mar 2019 13:38:10 +0100 Subject: [PATCH] sync --- README.md | 15 ++++++++++++++- docs/images/tabTable.png | Bin 0 -> 6456 bytes 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 docs/images/tabTable.png diff --git a/README.md b/README.md index 34b4895..f438aaa 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,17 @@ It is admittedly very convenient to just use Serial.print(var); since it doesn't | Dec16(v16s); | + 20 or +0020 | 20 | Serial.print(v16s); | | Dec16(-v16s); | 20 or -0020 | -20 | Serial.print(-v16s); | -*uint16_t v16=1120; uint16_t v16b=20; int16_t v16s=20;* \ No newline at end of file +*uint16_t v16=1120; uint16_t v16b=20; int16_t v16s=20;* + +Filling the non significative digits with zero or space is a general options, named ShowZ(); and HideZ(); + +The Tab(nn); function, allows to align data of different types. +e.g. Table next had to be written: +Text ("Mode HideZ();") SetTab(15); + Text ("Mode ShowZ();");NL(); +HideZ();Dec8s(3); SetTab(15); + ShowZ();Dec8s(3); NL(); +. . . +It is up to you to add functions like TextNL(); +if you need to keep your Serial.println() habits. +![Table1](docs/images/tabTable.png: "Example Table 1") \ No newline at end of file diff --git a/docs/images/tabTable.png b/docs/images/tabTable.png new file mode 100644 index 0000000000000000000000000000000000000000..5e11a1073ef50b23e40222d1840f2ef41e4940b0 GIT binary patch literal 6456 zcmb7JcU05ay2U}oLXk+M2q-;7ilHMVL+{Z@0O`F+FVc&O0-;K;f+W(Lv;m}vfDlS3 z5u_s!n)FVnFF14OzIpG>UGx6~9762&P1Fjo}&z2?>RYvixHbk_#Th zkMGJa#2MgpNgna%s>!%9^B6P}C@lW3j=v)aw#{U?&_&A}H zf{g<3zQ(msBL;uV#3+_oFA=nru+#YUXkd!U*_Syj2ei4M#DBKv-xxM~kYs!cGTVfn zrFm`7N0N|eG{&ACm7X1V>RO&IWu95q8l3J`HwmA-3EZYSB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