File tree Expand file tree Collapse file tree 5 files changed +27
-8
lines changed Expand file tree Collapse file tree 5 files changed +27
-8
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
6
6
and this project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
7
7
8
8
9
+ ## [ 0.2.6] - 2023-11-22
10
+ - update readme.md
11
+
12
+
9
13
## [ 0.2.5] - 2023-02-10
10
14
- update readme.md
11
15
- implement ** toSeconds()** -> 45.123 or 45.123456
Original file line number Diff line number Diff line change
1
+
1
2
[ ![ Arduino CI] ( https://github.com/RobTillaart/timing/workflows/Arduino%20CI/badge.svg )] ( https://github.com/marketplace/actions/arduino_ci )
2
3
[ ![ Arduino-lint] ( https://github.com/RobTillaart/timing/actions/workflows/arduino-lint.yml/badge.svg )] ( https://github.com/RobTillaart/timing/actions/workflows/arduino-lint.yml )
3
4
[ ![ JSON check] ( https://github.com/RobTillaart/timing/actions/workflows/jsoncheck.yml/badge.svg )] ( https://github.com/RobTillaart/timing/actions/workflows/jsoncheck.yml )
5
+ [ ![ GitHub issues] ( https://img.shields.io/github/issues/RobTillaart/timing.svg )] ( https://github.com/RobTillaart/timing/issues )
6
+
4
7
[ ![ License: MIT] ( https://img.shields.io/badge/license-MIT-green.svg )] ( https://github.com/RobTillaart/timing/blob/master/LICENSE )
5
8
[ ![ GitHub release] ( https://img.shields.io/github/release/RobTillaart/timing.svg?maxAge=3600 )] ( https://github.com/RobTillaart/timing/releases )
9
+ [ ![ PlatformIO Registry] ( https://badges.registry.platformio.org/packages/robtillaart/library/timing.svg )] ( https://registry.platformio.org/libraries/robtillaart/timing )
6
10
7
11
8
12
# Timing
9
13
10
- Arduino library with wrappers for seconds, millis , and micros .
14
+ Arduino library with wrappers for seconds, milliseconds , and microseconds .
11
15
12
16
13
17
## Description
@@ -113,8 +117,18 @@ Only for the seconds class for now.
113
117
- measureable?
114
118
- implement printable interface
115
119
- add unit (s, ms, us)
116
- - what layout to use?
117
- - move code to .cpp file ?
120
+ - what layout to use? (culture dependent)
121
+ - create a uint64_t seconds type ?
118
122
119
123
#### Wont
124
+ - move code to .cpp file?
125
+
126
+
127
+ ## Support
128
+
129
+ If you appreciate my libraries, you can support the development and maintenance.
130
+ Improve the quality of the libraries by providing issues and Pull Requests, or
131
+ donate through PayPal or GitHub sponsors.
132
+
133
+ Thank you,
120
134
Original file line number Diff line number Diff line change 15
15
"type" : " git" ,
16
16
"url" : " https://github.com/RobTillaart/timing"
17
17
},
18
- "version" : " 0.2.5 " ,
18
+ "version" : " 0.2.6 " ,
19
19
"license" : " MIT" ,
20
- "frameworks" : " arduino " ,
20
+ "frameworks" : " * " ,
21
21
"platforms" : " *" ,
22
22
"headers" : " timing.h"
23
23
}
Original file line number Diff line number Diff line change 1
1
name =timing
2
- version =0.2.5
2
+ version =0.2.6
3
3
author =Rob Tillaart <
[email protected] >
4
4
maintainer =Rob Tillaart <
[email protected] >
5
5
sentence =Arduino library with wrapper classes for seconds, millis and micros.
Original file line number Diff line number Diff line change 2
2
//
3
3
// FILE: timing.h
4
4
// AUTHOR: Rob Tillaart
5
- // VERSION: 0.2.5
5
+ // VERSION: 0.2.6
6
6
// PURPOSE: Arduino library with wrapper classes for seconds millis micros
7
7
// URL: https://github.com/RobTillaart/timing
8
8
9
9
10
- #define TIMING_LIB_VERSION (F(" 0.2.5 " ))
10
+ #define TIMING_LIB_VERSION (F(" 0.2.6 " ))
11
11
12
12
13
13
class microSeconds
@@ -52,6 +52,7 @@ class seconds
52
52
double toSeconds () { return millis () * 0.001 - _offset; };
53
53
54
54
// experimental
55
+ // does not include days (beyond 99 hrs)
55
56
char * toClock ()
56
57
{
57
58
static char buf[12 ];
You can’t perform that action at this time.
0 commit comments