mirror of
https://github.com/RobTillaart/Arduino.git
synced 2024-10-03 18:09:02 -04:00
0.2.6 NibbleArray
This commit is contained in:
parent
9017ded7ae
commit
8fb023ebe0
@ -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-14
|
||||
- update readme.md
|
||||
|
||||
|
||||
## [0.2.5] - 2023-02-08
|
||||
- update readme.md
|
||||
- fix keywords.txt
|
||||
@ -13,7 +17,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
||||
- update GitHub actions
|
||||
- update license 2023
|
||||
|
||||
|
||||
## [0.2.4] - 2022-11-18
|
||||
- add RP2040 in build-CI
|
||||
- add changelog.md
|
||||
|
@ -2,8 +2,11 @@
|
||||
[![Arduino CI](https://github.com/RobTillaart/nibbleArray/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci)
|
||||
[![Arduino-lint](https://github.com/RobTillaart/nibbleArray/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/nibbleArray/actions/workflows/arduino-lint.yml)
|
||||
[![JSON check](https://github.com/RobTillaart/nibbleArray/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/nibbleArray/actions/workflows/jsoncheck.yml)
|
||||
[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/nibbleArray.svg)](https://github.com/RobTillaart/nibbleArray/issues)
|
||||
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/nibbleArray/blob/master/LICENSE)
|
||||
[![GitHub release](https://img.shields.io/github/release/RobTillaart/nibbleArray.svg?maxAge=3600)](https://github.com/RobTillaart/nibbleArray/releases)
|
||||
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/nibbleArray.svg)](https://registry.platformio.org/libraries/robtillaart/nibbleArray)
|
||||
|
||||
|
||||
# nibbleArray
|
||||
@ -35,7 +38,6 @@ The BitArray library is one from a set of three:
|
||||
- https://github.com/RobTillaart/nibbleArray for elements of 4 bits or smaller (values 0 .. 15).
|
||||
|
||||
|
||||
|
||||
## Interface
|
||||
|
||||
```cpp
|
||||
@ -68,7 +70,6 @@ If value > 15 it will be truncated.
|
||||
- add a begin() function that does the work now done in constructor (0.3.0)
|
||||
- similar to bitArray and BoolArray classes.
|
||||
|
||||
|
||||
#### Should
|
||||
|
||||
- align interface with BoolArray and bitArray.
|
||||
@ -77,14 +78,21 @@ If value > 15 it will be truncated.
|
||||
- allow larger allocations for non AVR, how?
|
||||
- don't test for size, user responsibility?
|
||||
|
||||
|
||||
#### Could
|
||||
|
||||
- implement NIBBLEARRAY_ERROR_VALUE for set and setAll ??
|
||||
- for now user responsibility.
|
||||
|
||||
|
||||
#### Won't
|
||||
#### Wont
|
||||
|
||||
- setAll( f() ) - fill the array by calling a function n times?
|
||||
|
||||
|
||||
## 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,
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
"type": "git",
|
||||
"url": "https://github.com/RobTillaart/nibbleArray.git"
|
||||
},
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.6",
|
||||
"license": "MIT",
|
||||
"frameworks": "arduino",
|
||||
"frameworks": "*",
|
||||
"platforms": "*",
|
||||
"headers": "nibbleArray.h"
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
name=NibbleArray
|
||||
version=0.2.5
|
||||
version=0.2.6
|
||||
author=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
maintainer=Rob Tillaart <rob.tillaart@gmail.com>
|
||||
sentence=Library to implement a compact array of nibbles (4 bit).
|
||||
|
@ -1,7 +1,7 @@
|
||||
//
|
||||
// FILE: nibbleArray.cpp
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.5
|
||||
// VERSION: 0.2.6
|
||||
// PURPOSE: Arduino library for a compact array of nibbles (4 bits)
|
||||
// URL: https://github.com/RobTillaart/nibbleArray
|
||||
|
||||
|
@ -2,16 +2,15 @@
|
||||
//
|
||||
// FILE: nibbleArray.h
|
||||
// AUTHOR: Rob Tillaart
|
||||
// VERSION: 0.2.5
|
||||
// VERSION: 0.2.6
|
||||
// PURPOSE: Arduino library for a compact array of nibbles (4 bits)
|
||||
// URL: https://github.com/RobTillaart/nibbleArray
|
||||
//
|
||||
|
||||
|
||||
#include "Arduino.h"
|
||||
|
||||
|
||||
#define NIBBLEARRAY_LIB_VERSION (F("0.2.5"))
|
||||
#define NIBBLEARRAY_LIB_VERSION (F("0.2.6"))
|
||||
|
||||
|
||||
#ifndef NIBBLEARRAY_MAXSIZE
|
||||
|
Loading…
Reference in New Issue
Block a user