Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion EncoderMod.h
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ class Encoder
encoder.rate = 0;
encoder.rate1 = 0;
encoder.rate2 = 0;
lastRateTimer = 0;
encoder.lastRateTimer = 0;
if (DIRECT_PIN_READ(encoder.pin1_register, encoder.pin1_bitmask)) s |= 1;
if (DIRECT_PIN_READ(encoder.pin2_register, encoder.pin2_bitmask)) s |= 2;
encoder.state = s;
Expand Down
2 changes: 1 addition & 1 deletion keywords.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ENCODER_USE_INTERRUPTS LITERAL1
ENCODER_OPTIMIZE_INTERRUPTS LITERAL1
ENCODER_DO_NOT_USE_INTERRUPTS LITERAL1
Encoder KEYWORD1
EncoderMod KEYWORD1
read KEYWORD2
write KEYWORDD2
stepRate KEYWORD2
Expand Down
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"repository":
{
"type": "git",
"url": "https://github.com/QuentinTorg/Encoder"
"url": "https://github.com/QuentinTorg/EncoderMod"
},
"frameworks": "arduino",
"platforms":
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name=Encoder
name=EncoderMod
version=1.3
author=Paul Stoffregen
maintainer=Paul Stoffregen
Expand Down