rename Qei to RotaryEncoder

This commit is contained in:
hathach committed 2017-09-14 00:52:28 +07:00
1 parent 7eb49b5476
commit 1530258aef
3 files changed
+5 -5

No files matched your search

@@ -25,15 +25,15 @@ void setup()
Serial.println("--------------------------------------------\n");
// Initialize Encoder
Qei.begin(PIN_A, PIN_B);
RotaryEncoder.begin(PIN_A, PIN_B);
// Start encoder
Qei.start();
RotaryEncoder.start();
}
void loop()
{
int value = Qei.read();
int value = RotaryEncoder.read();
if (value)
{