diff --git a/CHANGELOG.md b/CHANGELOG.md index f6a9826..a26f6bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [0.2.6] - 2023-11-22 +- update readme.md + + ## [0.2.5] - 2023-02-10 - update readme.md - implement **toSeconds()** -> 45.123 or 45.123456 diff --git a/README.md b/README.md index 7873901..522c51f 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,17 @@ + [![Arduino CI](https://github.com/RobTillaart/timing/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci) [![Arduino-lint](https://github.com/RobTillaart/timing/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/timing/actions/workflows/arduino-lint.yml) [![JSON check](https://github.com/RobTillaart/timing/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/timing/actions/workflows/jsoncheck.yml) +[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/timing.svg)](https://github.com/RobTillaart/timing/issues) + [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/timing/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/RobTillaart/timing.svg?maxAge=3600)](https://github.com/RobTillaart/timing/releases) +[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/timing.svg)](https://registry.platformio.org/libraries/robtillaart/timing) # Timing -Arduino library with wrappers for seconds, millis, and micros. +Arduino library with wrappers for seconds, milliseconds, and microseconds. ## Description @@ -113,8 +117,18 @@ Only for the seconds class for now. - measureable? - implement printable interface - add unit (s, ms, us) - - what layout to use? -- move code to .cpp file? + - what layout to use? (culture dependent) +- create a uint64_t seconds type? #### Wont +- move code to .cpp file? + + +## Support + +If you appreciate my libraries, you can support the development and maintenance. +Improve the quality of the libraries by providing issues and Pull Requests, or +donate through PayPal or GitHub sponsors. + +Thank you, diff --git a/library.json b/library.json index 13630d7..315a750 100644 --- a/library.json +++ b/library.json @@ -15,9 +15,9 @@ "type": "git", "url": "https://github.com/RobTillaart/timing" }, - "version": "0.2.5", + "version": "0.2.6", "license": "MIT", - "frameworks": "arduino", + "frameworks": "*", "platforms": "*", "headers": "timing.h" } diff --git a/library.properties b/library.properties index fc411d2..0d97817 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=timing -version=0.2.5 +version=0.2.6 author=Rob Tillaart maintainer=Rob Tillaart sentence=Arduino library with wrapper classes for seconds, millis and micros. diff --git a/timing.h b/timing.h index d7fa48d..33bcbca 100644 --- a/timing.h +++ b/timing.h @@ -2,12 +2,12 @@ // // FILE: timing.h // AUTHOR: Rob Tillaart -// VERSION: 0.2.5 +// VERSION: 0.2.6 // PURPOSE: Arduino library with wrapper classes for seconds millis micros // URL: https://github.com/RobTillaart/timing -#define TIMING_LIB_VERSION (F("0.2.5")) +#define TIMING_LIB_VERSION (F("0.2.6")) class microSeconds @@ -52,6 +52,7 @@ class seconds double toSeconds() { return millis() * 0.001 - _offset; }; // experimental + // does not include days (beyond 99 hrs) char * toClock() { static char buf[12];