mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.4.2 printHelpers
This commit is contained in:
parent
e86726cd28
commit
4b028f2564
@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
|
||||
## [0.4.2] - 2023-11-15
|
||||
- update readme.md
|
||||
- update keywords.txt
|
||||
|
||||
|
||||
## [0.4.1] - 2023-07-13
|
||||
- fix #16 signed/unsigned warning
|
||||
- update example **print_toRoman.ino** to print 1..5000
|
||||
@ -16,7 +21,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- add **printInch(inch, step)** e.g 7 7/16
|
||||
- add **printFeet(feet)**
|
||||
|
||||
|
||||
## [0.4.0] - 2023-01-28
|
||||
- bump version number as fix in 0.3.1 was serious
|
||||
- add **toRoman()**
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/printHelpers/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/printHelpers/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/printHelpers/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/printHelpers/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/printHelpers/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/printHelpers.svg)](https://github.com/RobTillaart/printHelpers/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/printHelpers/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/printHelpers.svg?maxAge=3600)](https://github.com/RobTillaart/printHelpers/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/printHelpers.svg)](https://registry.platformio.org/libraries/robtillaart/printHelpers)
|
||||
|
||||
|
||||
# printHelpers
|
||||
@ -252,14 +255,12 @@ When functions are added, the recommended minimum size might increase.
|
||||
|
||||
- check TODO's in the code
|
||||
|
||||
|
||||
#### Should
|
||||
|
||||
- documentation
|
||||
- improve readability of the code
|
||||
- em ==> exponentFactor?
|
||||
|
||||
|
||||
#### Could
|
||||
|
||||
- investigate separators in **hex()**
|
||||
@ -269,7 +270,7 @@ When functions are added, the recommended minimum size might increase.
|
||||
- could be the log10 pow version?
|
||||
- optimize **char \* hex(uint8_t / uint16_t ...)**
|
||||
- make this library a .h file only?
|
||||
|
||||
- PRINTHELPERS_LIB_VERSION
|
||||
|
||||
#### Wont
|
||||
|
||||
@ -287,3 +288,12 @@ When functions are added, the recommended minimum size might increase.
|
||||
- investigate sci() version based upon use of log()
|
||||
- done => see examples.
|
||||
|
||||
|
||||
## 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,
|
||||
|
||||
|
@ -17,6 +17,9 @@ bin KEYWORD2
|
||||
|
||||
toRoman KEYWORD2
|
||||
|
||||
printInch KEYWORD2
|
||||
printFeet KEYWORD2
|
||||
|
||||
|
||||
# Constants (LITERAL1)
|
||||
PRINTHELPERS_VERSION LITERAL1
|
||||
|
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/printHelpers"
|
||||
},
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "printHelpers.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=printHelpers
|
||||
version=0.4.1
|
||||
version=0.4.2
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Arduino library to help formatting data for printing. 64 bit integers (base 10 and 16). Engineering and scientific notation.
|
||||
|
@ -2,7 +2,7 @@
|
||||
// FILE: printHelpers.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2018-01-21
|
||||
// VERSION: 0.4.1
|
||||
// VERSION: 0.4.2
|
||||
// PUPROSE: Arduino library to help formatting for printing.
|
||||
// URL: https://github.com/RobTillaart/printHelpers
|
||||
|
||||
@ -499,7 +499,7 @@ char * printInch(float inch, uint16_t step)
|
||||
num >>= 1;
|
||||
den >>= 1;
|
||||
}
|
||||
|
||||
|
||||
#if defined(ESP32)
|
||||
// ESP32 does not support %ld or ltoa()
|
||||
sprintf(buffer, "%d %d/%d", whole, num, den);
|
||||
|
@ -3,7 +3,7 @@
|
||||
// FILE: printHelpers.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// DATE: 2018-01-21
|
||||
// VERSION: 0.4.1
|
||||
// VERSION: 0.4.2
|
||||
// PUPROSE: Arduino library to help formatting for printing.
|
||||
// URL: https://github.com/RobTillaart/printHelpers
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#include "stdlib.h"
|
||||
|
||||
|
||||
#define PRINTHELPERS_VERSION (F("0.4.1"))
|
||||
#define PRINTHELPERS_VERSION (F("0.4.2"))
|
||||
|
||||
|
||||
// global buffer used by all functions so no static buffer in every function
|
||||
|
Loading…
Reference in New Issue
Block a user