Skip to content

Commit 9aef3f6

Browse files
committed
0.2.1 printHelpers
1 parent d4372b1 commit 9aef3f6

File tree

8 files changed

+30
-9
lines changed

8 files changed

+30
-9
lines changed

libraries/printHelpers/examples/print64/print64.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// (c) : MIT
88
//
99

10+
1011
#include "printHelpers.h"
1112

1213
uint64_t llx = 1311768467284833366;
@@ -15,6 +16,7 @@ uint64_t a = 0;
1516

1617
uint32_t start, stop;
1718

19+
1820
void setup()
1921
{
2022
Serial.begin(115200);
@@ -48,8 +50,10 @@ void setup()
4850
Serial.println("\ndone...");
4951
}
5052

53+
5154
void loop()
5255
{
5356
}
5457

58+
5559
// -- END OF FILE --

libraries/printHelpers/examples/print_sci/print_sci.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
// VERSION: 0.0.1
44
// PURPOSE: demo program SCI
55

6+
67
#include "printHelpers.h"
78

9+
810
void setup()
911
{
1012
Serial.begin(115200);
@@ -64,8 +66,10 @@ void setup()
6466
Serial.println("\ndone...");
6567
}
6668

69+
6770
void loop()
6871
{
6972
}
7073

74+
7175
// -- END OF FILE --

libraries/printHelpers/examples/sci_test/sci_test.ino

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
// VERSION: 0.0.1
55
// PURPOSE: test different values with sci function
66

7+
78
#include "printHelpers.h"
89

910
uint32_t start, stop;
1011

12+
1113
void setup()
1214
{
1315
Serial.begin(115200);
@@ -23,8 +25,11 @@ void setup()
2325
Serial.println("\nDone...");
2426
}
2527

28+
2629
void loop()
27-
{}
30+
{
31+
}
32+
2833

2934
void test1()
3035
{
@@ -65,6 +70,7 @@ void test1()
6570
Serial.println();
6671
}
6772

73+
6874
void test2()
6975
{
7076
Serial.println();
@@ -101,6 +107,7 @@ void test2()
101107
Serial.println();
102108
}
103109

110+
104111
void test3()
105112
{
106113
Serial.println();
@@ -114,6 +121,7 @@ void test3()
114121
Serial.println();
115122
}
116123

124+
117125
void test4()
118126
{
119127
Serial.println();
@@ -128,6 +136,7 @@ void test4()
128136
Serial.println();
129137
}
130138

139+
131140
void 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 --

libraries/printHelpers/examples/toBytes/toBytes.ino

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
// PURPOSE: demo toBytes(double val);
66
// DATE: 2020-07-03
77

8+
89
#include "printHelpers.h"
910

1011
volatile uint32_t n = 0;
1112

13+
1214
void 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("\ndone...");
4748
}
4849

50+
4951
void loop()
5052
{
5153
}
5254

55+
5356
// -- END OF FILE --

libraries/printHelpers/library.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
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
}

libraries/printHelpers/library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=printHelpers
2-
version=0.2.0
2+
version=0.2.1
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library to help formatting data for printing. 64 bit integers (base 10 and 16). Engineering and scientific notation.
66
paragraph=Supports 64 bit integers (base 10 and 16). Engineering and scientific notation. toBytes() for KB MB etc.
7-
category=Uncategorized
7+
category=Other
88
url=https://github.com/RobTillaart/printHelpers
99
architectures=*
1010
includes=printHelpers.h

libraries/printHelpers/printHelpers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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

@@ -12,7 +12,7 @@
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

libraries/printHelpers/test/unit_test_001.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ unittest_setup()
4040
{
4141
}
4242

43+
4344
unittest_teardown()
4445
{
4546
}

0 commit comments

Comments
 (0)