diff --git a/CHANGELOG.md b/CHANGELOG.md index feb542d..2b97baa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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.1.3] - 2023-02-20 +- update readme.md +- update keywords.txt + + ## [0.1.3] - 2023-02-20 - optimized noInterrupts - add lastRead() @@ -14,7 +19,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - update license 2023 - minor edits - ## [0.1.2] - 2022-11-06 - redo clock pulse to match fastShiftOut (after write and before read) diff --git a/FastShiftInOut.cpp b/FastShiftInOut.cpp index 6dd646b..30f169f 100644 --- a/FastShiftInOut.cpp +++ b/FastShiftInOut.cpp @@ -1,7 +1,7 @@ // // FILE: FastShiftInOut.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.1.3 +// VERSION: 0.1.4 // PURPOSE: Arduino library for (AVR) optimized shiftInOut (simultaneously) // URL: https://github.com/RobTillaart/FastShiftInOut @@ -84,12 +84,12 @@ uint8_t FastShiftInOut::writeLSBFIRST(uint8_t data) *_clockRegister &= cbmask2; } SREG = oldSREG; - + #else for (uint8_t i = 0; i < 8; i++) { - // write one bit + // write one bit digitalWrite(_dataPinOut, value & 0x01); value >>= 1; // clock pulse diff --git a/FastShiftInOut.h b/FastShiftInOut.h index fa26da0..bba22a0 100644 --- a/FastShiftInOut.h +++ b/FastShiftInOut.h @@ -2,7 +2,7 @@ // // FILE: FastShiftInOut.cpp // AUTHOR: Rob Tillaart -// VERSION: 0.1.3 +// VERSION: 0.1.4 // PURPOSE: Arduino library for (AVR) optimized shiftInOut (simultaneously) // URL: https://github.com/RobTillaart/FastShiftInOut @@ -10,7 +10,7 @@ #include "Arduino.h" -#define FASTSHIFTINOUT_LIB_VERSION (F("0.1.3")) +#define FASTSHIFTINOUT_LIB_VERSION (F("0.1.4")) class FastShiftInOut diff --git a/README.md b/README.md index 88fffe3..3a0f92d 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,11 @@ [![Arduino CI](https://github.com/RobTillaart/FastShiftInOut/workflows/Arduino%20CI/badge.svg)](https://github.com/marketplace/actions/arduino_ci) [![Arduino-lint](https://github.com/RobTillaart/FastShiftInOut/actions/workflows/arduino-lint.yml/badge.svg)](https://github.com/RobTillaart/FastShiftInOut/actions/workflows/arduino-lint.yml) [![JSON check](https://github.com/RobTillaart/FastShiftInOut/actions/workflows/jsoncheck.yml/badge.svg)](https://github.com/RobTillaart/FastShiftInOut/actions/workflows/jsoncheck.yml) +[![GitHub issues](https://img.shields.io/github/issues/RobTillaart/FastShiftInOut.svg)](https://github.com/RobTillaart/FastShiftInOut/issues) + [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/RobTillaart/FastShiftInOut/blob/master/LICENSE) [![GitHub release](https://img.shields.io/github/release/RobTillaart/FastShiftInOut.svg?maxAge=3600)](https://github.com/RobTillaart/FastShiftInOut/releases) +[![PlatformIO Registry](https://badges.registry.platformio.org/packages/robtillaart/library/FastShiftInOut.svg)](https://registry.platformio.org/libraries/robtillaart/FastShiftInOut) # FastShiftInOut @@ -64,12 +67,23 @@ bitOrder = { LSBFIRST, MSBFIRST }; - documentation - follow FastShiftIn and FastShiftOut -#### should +#### Should -#### could +#### Could - **void ignoreRead()** - add Print interface? +#### Wont + + +## 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/keywords.txt b/keywords.txt index 6db4f3c..cf3da78 100644 --- a/keywords.txt +++ b/keywords.txt @@ -8,6 +8,7 @@ FastShiftInOut KEYWORD1 write KEYWORD2 lastWritten KEYWORD2 +lastRead KEYWORD2 setBitOrder KEYWORD2 getBitOrder KEYWORD2 diff --git a/library.json b/library.json index 31bcad3..804b8e2 100644 --- a/library.json +++ b/library.json @@ -15,9 +15,9 @@ "type": "git", "url": "https://github.com/RobTillaart/FastShiftInOut.git" }, - "version": "0.1.3", + "version": "0.1.4", "license": "MIT", - "frameworks": "arduino", + "frameworks": "*", "platforms": "*", "headers": "FastShiftInOut.h" } diff --git a/library.properties b/library.properties index 9198b4a..9a452b3 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=FastShiftInOut -version=0.1.3 +version=0.1.4 author=Rob Tillaart maintainer=Rob Tillaart sentence=Arduino library for (AVR) optimized shiftInOut (simultaneously)