Skip to content

Commit 9b57767

Browse files
committed
0.2.2 timing
1 parent eb5b781 commit 9b57767

File tree

6 files changed

+24
-6
lines changed

6 files changed

+24
-6
lines changed

libraries/timing/examples/microSeconds/microSeconds.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@
77
// URL: https://github.com/RobTillaart/timing
88
//
99

10+
1011
#include "timing.h"
1112
#include "printHelpers.h" // https://github.com/RobTillaart/printHelpers
1213

14+
1315
void setup()
1416
{
1517
Serial.begin(115200);
@@ -30,10 +32,12 @@ void setup()
3032
Serial.println("\nDone...");
3133
}
3234

35+
3336
void loop()
3437
{
3538
}
3639

40+
3741
uint64_t fibonaci(uint32_t n)
3842
{
3943
uint64_t p = 0;
@@ -53,4 +57,5 @@ uint64_t fibonaci(uint32_t n)
5357
return q;
5458
}
5559

60+
5661
// -- END OF FILE --

libraries/timing/examples/milliSeconds/milliSeconds.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,10 @@
77
// URL: https://github.com/RobTillaart/timing
88
//
99

10+
1011
#include "timing.h"
1112

13+
1214
void setup()
1315
{
1416
Serial.begin(115200);
@@ -40,8 +42,10 @@ void setup()
4042
Serial.println("\nDone...");
4143
}
4244

45+
4346
void loop()
4447
{
4548
}
4649

50+
4751
// -- END OF FILE --

libraries/timing/examples/seconds/seconds.ino

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// URL: https://github.com/RobTillaart/timing
88
//
99

10+
1011
#include "timing.h"
1112

1213

@@ -23,6 +24,7 @@ uint16_t primes[MAXPRIMES];
2324
uint16_t idx = 0;
2425
uint32_t x = 1;
2526

27+
2628
void setup()
2729
{
2830
Serial.begin(115200);
@@ -52,10 +54,12 @@ void setup()
5254
Serial.println("\nDone...");
5355
}
5456

57+
5558
void loop()
5659
{
5760
}
5861

62+
5963
// sort of sieve.
6064
int nextPrime()
6165
{
@@ -78,4 +82,5 @@ int nextPrime()
7882
return x;
7983
}
8084

81-
// -- END OF FILE --
85+
86+
// -- END OF FILE --

libraries/timing/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/timing"
1717
},
18-
"version":"0.2.1",
18+
"version": "0.2.2",
19+
"license": "MIT",
1920
"frameworks": "arduino",
2021
"platforms": "*"
2122
}

libraries/timing/library.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name=timing
2-
version=0.2.1
2+
version=0.2.2
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library with wrapper classes for seconds millis micros.
66
paragraph=These wrappers allow to reset the value of the time.
7-
category=dataprocessing
7+
category=Data Processing
88
url=https://github.com/RobTillaart/timing
99
architectures=*
1010
includes=timing.h

libraries/timing/timing.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// FILE: timing.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.0
5+
// VERSION: 0.2.2
66
// PURPOSE: Arduino library with wrapper classes for seconds millis micros
77
// URL: https://github.com/RobTillaart/timing
88
//
@@ -12,9 +12,11 @@
1212
// 0.1.02 2015-03-02 move all to mymillis.h file so compiler can optimize
1313
// 0.2.0 2020-07-07 renamed to timing.h
1414
// 0.2.1 2021-01-09 added Arduino-CI + unit test
15+
// 0.2.1 2021-05-27 added Arduino-lint
1516

1617

17-
#define TIMING_LIB_VERSION (F("0.2.1"))
18+
#define TIMING_LIB_VERSION (F("0.2.2"))
19+
1820

1921
class microSeconds
2022
{
@@ -54,4 +56,5 @@ class seconds
5456
uint32_t _offset = 0UL;
5557
};
5658

59+
5760
// -- END OF FILE --

0 commit comments

Comments
 (0)