Skip to content

Commit ea4ca19

Browse files
committed
1.0.3
1 parent 25a3c04 commit ea4ca19

File tree

7 files changed

+7
-101
lines changed

7 files changed

+7
-101
lines changed

.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
.vscode/c_cpp_properties.json
44
.vscode/launch.json
55
.vscode/ipch
6+
.vscode

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## **Versatile_RotaryEncoder Library V1.0.2** for Arduino
1+
## **Versatile_RotaryEncoder Library V1.0.3** for Arduino
22
**Written by:** _Rui Seixas Monteiro_.
33

44
## Installation
@@ -26,6 +26,9 @@ void loop(){
2626
```
2727

2828
### **Library functions**
29+
#### **`Versatile_RotaryEncoder(clk, dt, sw)`**
30+
This function returns a pointer to an object of type `Versatile_RotaryEncoder` to be used as function calls and sets.
31+
2932
#### **`Versatile_RotaryEncoder.setHandleRotate( void (*)(int8_t rotation) )`**
3033
This function sets the handle function for the rotation of the encoder.
3134
Its only parameter is the handle function as `void (*)(int8_t rotation)` that would be used to process the rotation value.
@@ -95,7 +98,7 @@ This functions returns a `short unsigned int` representing the last button bits
9598
The purpose of this function is to allow a more specific use of the library.
9699

97100
### **Examples**
98-
#### **Partial Dummy Memory Allocation (Testing Purposes)**
101+
#### **Exaustive usage of all possible 9 functions**
99102
```Arduino
100103
#include <Versatile_RotaryEncoder.h>
101104

include/README

Lines changed: 0 additions & 39 deletions
This file was deleted.

lib/README

Lines changed: 0 additions & 46 deletions
This file was deleted.

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Versatile_RotaryEncoder
2-
version=1.0.2
2+
version=1.0.3
33
author=ruiseixasm, Rui Seixas Monteiro
44
maintainer=Rui Seixas Monteiro
55
sentence=A rotary encoder library that allows the callback of up to 9 different functions representing the same number of different encoder events. These different functions can be associated with events like press rotate and long press among many others.

test/README

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)