Skip to content

Commit 4434a3d

Browse files
authored
update library.json, license, readme, minor edits (#4)
1 parent a5415d1 commit 4434a3d

File tree

12 files changed

+24
-25
lines changed

12 files changed

+24
-25
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021-2021 Rob Tillaart
3+
Copyright (c) 2021-2022 Rob Tillaart
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# rotaryDecoder
1010

11-
Arduino library for a PCF8574 based rotary decoder - supports 4 RE.
11+
Arduino library for a PCF8574 based rotary decoder - supports 4 rotary encoders.
1212

1313

1414
## Description

examples/rotaryDecoder_demo_interrupt/rotaryDecoder_demo_interrupt.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// FILE: rotaryDecoder_demo_interrupt.ino
33
// AUTHOR: Rob Tillaart
44
// DATE: 2021-05-08
5-
//
65
// PUPROSE: demo interrupt controlled rotary decoder
7-
6+
//
87
// connect up to 4 rotary encoders to 1 PCF8574.
98
//
109
// RotaryEncoder PCF8574 UNO
@@ -72,3 +71,4 @@ void loop()
7271

7372

7473
// -- END OF FILE --
74+

examples/rotaryDecoder_demo_polling/rotaryDecoder_demo_polling.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// FILE: rotaryDecoder_demo_polling.ino
33
// AUTHOR: Rob Tillaart
44
// DATE: 2021-05-08
5-
//
65
// PUPROSE: demo
7-
6+
//
87
// connect up to 4 rotary encoders to 1 PCF8574.
98
//
109
// RotaryEncoder PCF8574 UNO
@@ -38,7 +37,6 @@ void setup()
3837
}
3938

4039

41-
4240
void loop()
4341
{
4442
if (decoder.checkChange())

examples/rotaryDecoder_demo_simple/rotaryDecoder_demo_simple.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// FILE: rotaryDecoder_demo_simple.ino
33
// AUTHOR: Rob Tillaart
44
// DATE: 2021-05-08
5-
//
65
// PUPROSE: demo
7-
6+
//
87
// connect up to 4 rotary encoders to 1 PCF8574.
98
//
109
// RotaryEncoder PCF8574 UNO

examples/rotaryDecoder_demo_single/rotaryDecoder_demo_single.ino

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22
// FILE: rotaryDecoder_demo_single.ino
33
// AUTHOR: Rob Tillaart
44
// DATE: 2021-05-08
5-
//
65
// PUPROSE: demo single direction rotary decoder.
7-
6+
//
87
// note this is used for e.g. RPM counters that are unidirectional.
98
// all moves are interpreted as same direction.
10-
9+
//
1110
// connect up to 4 rotary encoders to 1 PCF8574.
1211
//
1312
// RotaryEncoder PCF8574 UNO

examples/rotaryDecoder_performance/rotaryDecoder_performance.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
// FILE: rotaryDecoder_performance.ino
33
// AUTHOR: Rob Tillaart
44
// DATE: 2021-05-08
5-
//
65
// PUPROSE: demo
7-
6+
//
87
// connect up to 4 rotary encoders to 1 PCF8574.
98
//
109
// RotaryEncoder PCF8574 UNO
@@ -59,3 +58,4 @@ void loop()
5958

6059

6160
// -- END OF FILE --
61+

library.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rotaryDecoder",
3-
"keywords": "rotary encoder PCF8574",
3+
"keywords": "rotary,encoder,PCF8574",
44
"description": "Arduino library to rotary decoder with a PCF8574\nSupports up to 4 RE's",
55
"authors":
66
[
@@ -15,7 +15,7 @@
1515
"type": "git",
1616
"url": "https://github.com/RobTillaart/rotaryDecoder.git"
1717
},
18-
"version": "0.1.1",
18+
"version": "0.1.2",
1919
"license": "MIT",
2020
"frameworks": "arduino",
2121
"platforms": "*",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=rotaryDecoder
2-
version=0.1.1
2+
version=0.1.2
33
author=Rob Tillaart <[email protected]>
44
maintainer=Rob Tillaart <[email protected]>
55
sentence=Arduino library to rotary decoder with a PCF8574

rotaryDecoder.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// 0.1.0 2021-05-08 initial version
1111
// 0.1.1 2021-11-15 update build-CI, readme.md
1212
// improve readability of code
13-
//
13+
// 0.1.2 2021-12-27 update library.json, license, minor edits
1414

1515

1616
#include "rotaryDecoder.h"
@@ -158,3 +158,4 @@ uint8_t rotaryDecoder::_read8()
158158

159159

160160
// -- END OF FILE --
161+

0 commit comments

Comments
 (0)