Combine rotary with canned messages.

This commit is contained in:
Balazs Kelemen
2022-01-09 10:08:31 +01:00
parent c7e62142e9
commit 772dfe39dc
7 changed files with 184 additions and 218 deletions

View File

@@ -0,0 +1,30 @@
#include "RotaryEncoderInterruptImpl1.h"
RotaryEncoderInterruptImpl1 *rotaryEncoderInterruptImpl1;
RotaryEncoderInterruptImpl1::RotaryEncoderInterruptImpl1(
uint8_t pinA, uint8_t pinB, uint8_t pinPress,
char eventCw, char eventCcw, char eventPressed) :
RotaryEncoderInterruptBase(
"rotEnc1",
pinA, pinB, pinPress,
eventCw, eventCcw, eventPressed,
RotaryEncoderInterruptImpl1::handleIntA,
RotaryEncoderInterruptImpl1::handleIntB,
RotaryEncoderInterruptImpl1::handleIntPressed)
{
}
void RotaryEncoderInterruptImpl1::handleIntA()
{
}
void RotaryEncoderInterruptImpl1::handleIntB()
{
}
void RotaryEncoderInterruptImpl1::handleIntPressed()
{
}