Skip to content

Commit 9bc7e48

Browse files
committed
0.2.6 timing
1 parent df988e9 commit 9bc7e48

File tree

5 files changed

+27
-8
lines changed

5 files changed

+27
-8
lines changed

libraries/timing/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88

9+
## [0.2.6] - 2023-11-22
10+
- update readme.md
11+
12+
913
## [0.2.5] - 2023-02-10
1014
- update readme.md
1115
- implement **toSeconds()** -> 45.123 or 45.123456

libraries/timing/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
12
[![Arduino CI](https://github.com/RobTillaart/timing/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
23
[![Arduino-lint](https://github.com/RobTillaart/timing/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/timing/actions/workflows/arduino-lint.yml)
34
[![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+
47
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/timing/blob/master/LICENSE)
58
[![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)
610

711

812
# Timing
913

10-
Arduino library with wrappers for seconds, millis, and micros.
14+
Arduino library with wrappers for seconds, milliseconds, and microseconds.
1115

1216

1317
## Description
@@ -113,8 +117,18 @@ Only for the seconds class for now.
113117
- measureable?
114118
- implement printable interface
115119
- 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?
118122
119123
#### 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,
120134

libraries/timing/library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"type": "git",
1616
"url": "https://github.com/RobTillaart/timing"
1717
},
18-
"version": "0.2.5",
18+
"version": "0.2.6",
1919
"license": "MIT",
20-
"frameworks": "arduino",
20+
"frameworks": "*",
2121
"platforms": "*",
2222
"headers": "timing.h"
2323
}

libraries/timing/library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=timing
2-
version=0.2.5
2+
version=0.2.6
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library with wrapper classes for seconds, millis and micros.

libraries/timing/timing.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
//
33
// FILE: timing.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.5
5+
// VERSION: 0.2.6
66
// PURPOSE: Arduino library with wrapper classes for seconds millis micros
77
// URL: https://github.com/RobTillaart/timing
88

99

10-
#define TIMING_LIB_VERSION (F("0.2.5"))
10+
#define TIMING_LIB_VERSION (F("0.2.6"))
1111

1212

1313
class microSeconds
@@ -52,6 +52,7 @@ class seconds
5252
double toSeconds() { return millis() * 0.001 - _offset; };
5353

5454
// experimental
55+
// does not include days (beyond 99 hrs)
5556
char * toClock()
5657
{
5758
static char buf[12];

0 commit comments

Comments
 (0)