File tree Expand file tree Collapse file tree 8 files changed +30
-9
lines changed
Expand file tree Collapse file tree 8 files changed +30
-9
lines changed Original file line number Diff line number Diff line change 77// (c) : MIT
88//
99
10+
1011#include " printHelpers.h"
1112
1213uint64_t llx = 1311768467284833366 ;
@@ -15,6 +16,7 @@ uint64_t a = 0;
1516
1617uint32_t start, stop;
1718
19+
1820void setup ()
1921{
2022 Serial.begin (115200 );
@@ -48,8 +50,10 @@ void setup()
4850 Serial.println (" \n done..." );
4951}
5052
53+
5154void loop ()
5255{
5356}
5457
58+
5559// -- END OF FILE --
Original file line number Diff line number Diff line change 33// VERSION: 0.0.1
44// PURPOSE: demo program SCI
55
6+
67#include " printHelpers.h"
78
9+
810void setup ()
911{
1012 Serial.begin (115200 );
@@ -64,8 +66,10 @@ void setup()
6466 Serial.println (" \n done..." );
6567}
6668
69+
6770void loop ()
6871{
6972}
7073
74+
7175// -- END OF FILE --
Original file line number Diff line number Diff line change 44// VERSION: 0.0.1
55// PURPOSE: test different values with sci function
66
7+
78#include " printHelpers.h"
89
910uint32_t start, stop;
1011
12+
1113void setup ()
1214{
1315 Serial.begin (115200 );
@@ -23,8 +25,11 @@ void setup()
2325 Serial.println (" \n Done..." );
2426}
2527
28+
2629void loop ()
27- {}
30+ {
31+ }
32+
2833
2934void test1 ()
3035{
@@ -65,6 +70,7 @@ void test1()
6570 Serial.println ();
6671}
6772
73+
6874void test2 ()
6975{
7076 Serial.println ();
@@ -101,6 +107,7 @@ void test2()
101107 Serial.println ();
102108}
103109
110+
104111void test3 ()
105112{
106113 Serial.println ();
@@ -114,6 +121,7 @@ void test3()
114121 Serial.println ();
115122}
116123
124+
117125void test4 ()
118126{
119127 Serial.println ();
@@ -128,6 +136,7 @@ void test4()
128136 Serial.println ();
129137}
130138
139+
131140void test5 ()
132141{
133142 Serial.println ();
@@ -141,8 +150,6 @@ void test5()
141150 Serial.println (sci (f, 6 ));
142151 // TODO find a -inf
143152 Serial.println (sci (tan (PI / 2 ), 6 ));
144-
145-
146153 Serial.println ();
147154}
148155
@@ -186,4 +193,5 @@ void test6()
186193 }
187194}
188195
196+
189197// -- END OF FILE --
Original file line number Diff line number Diff line change 55// PURPOSE: demo toBytes(double val);
66// DATE: 2020-07-03
77
8+
89#include " printHelpers.h"
910
1011volatile uint32_t n = 0 ;
1112
13+
1214void setup ()
1315{
1416 Serial.begin (115200 );
@@ -42,12 +44,13 @@ void setup()
4244 Serial.println ();
4345 n = n * (PI * PI * PI * PI);
4446 }
45-
4647 Serial.println (" \n done..." );
4748}
4849
50+
4951void loop ()
5052{
5153}
5254
55+
5356// -- END OF FILE --
Original file line number Diff line number Diff line change 1515 "type" : " git" ,
1616 "url" : " https://github.com/RobTillaart/printHelpers"
1717 },
18- "version" :" 0.2.0" ,
18+ "version" : " 0.2.1" ,
19+ "license" : " MIT" ,
1920 "frameworks" : " arduino" ,
2021 "platforms" : " *"
2122}
Original file line number Diff line number Diff line change 11name =printHelpers
2- version =0.2.0
2+ version =0.2.1
33author =Rob Tillaart <
[email protected] >
44maintainer =Rob Tillaart <
[email protected] >
55sentence =Arduino library to help formatting data for printing. 64 bit integers (base 10 and 16). Engineering and scientific notation.
66paragraph =Supports 64 bit integers (base 10 and 16). Engineering and scientific notation. toBytes() for KB MB etc.
7- category =Uncategorized
7+ category =Other
88url =https://github.com/RobTillaart/printHelpers
99architectures =*
1010includes =printHelpers.h
Original file line number Diff line number Diff line change 33// FILE: printHelpers.h
44// AUTHOR: Rob Tillaart
55// DATE: 2018-01-21
6- // VERSION: 0.2.0
6+ // VERSION: 0.2.1
77// PUPROSE: Arduino library to help formatting for printing.
88// URL: https://github.com/RobTillaart/printHelpers
99
1212#include "stdlib.h"
1313
1414
15- #define PRINTHELPERS_VERSION (F("0.2.0 "))
15+ #define PRINTHELPERS_VERSION (F("0.2.1 "))
1616
1717// 24 is a pretty safe minimum
1818
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ unittest_setup()
4040{
4141}
4242
43+
4344unittest_teardown ()
4445{
4546}
You can’t perform that action at this time.
0 commit comments