diff --git a/changelog.md b/changelog.md index 61eff340..3eb65f0e 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ - Make FreeRTOS run in tickless mode - Added systemOff() to enter hibernate mode - Correct waitForEvent() function with SoftDevice enabled and disabled. +- Added RotaryEncoder support for both Hardware and Software Encoder. ## 0.7.0 diff --git a/libraries/RotaryEncoder/keywords.txt b/libraries/RotaryEncoder/keywords.txt index e69de29b..b81e9a54 100644 --- a/libraries/RotaryEncoder/keywords.txt +++ b/libraries/RotaryEncoder/keywords.txt @@ -0,0 +1,19 @@ +####################################### +# Datatypes (KEYWORD1) +####################################### + +HwRotaryEncoder KEYWORD1 +SwRotaryEncoder KEYWORD1 + +####################################### +# Methods (KEYWORD2) +####################################### + +setSampler KEYWORD2 +setDebounce KEYWORD2 +setReporter KEYWORD2 +setCallback KEYWORD2 +read KEYWORD2 +readAbs KEYWORD2 +writeAbs KEYWORD2 +clearAbs KEYWORD2 diff --git a/libraries/RotaryEncoder/library.properties b/libraries/RotaryEncoder/library.properties index 303c8eac..8228405c 100644 --- a/libraries/RotaryEncoder/library.properties +++ b/libraries/RotaryEncoder/library.properties @@ -1,4 +1,4 @@ -name=Adafruit Hardware Encoder for Bluefruit52 +name=Adafruit Rotary Encoder for Bluefruit52 version=0.7.5 author=Adafruit maintainer=Adafruit