- #1
shushi_boi
- 45
- 0
In this project,
https://bitbucket.org/selectnone/ra...ls.ino?at=master&fileviewer=file-view-default
It states that a rotary encoder with "interrupt capabilities" is recommended for this project (which connects to the Teensy 2.0++ pins, which the Teensy connects to the Raspberry Pi 2 via usb)
I'm guessing that interrupt capabilities are knobs that also act like pushbuttons, in the same way that car radio volume control knobs are (which you can push like buttons) "...the knob also acts as a pushbutton which sends an interrupt to your target board\'s MCU."
in
https://bitbucket.org/selectnone/raspipboy/wiki/Controls.md
He states that the rotary encoder's knob should also act like a push button, so that it's a mouse that alternates between diagnal and horizontal movements.
https://bitbucket.org/selectnone/ra...ls.ino?at=master&fileviewer=file-view-default
14 // Change these pin numbers to the pins connected to your encoder.
15 // Best Performance: both pins have interrupt capability1Q
16 // Good Performance: only the first pin has interrupt capability
17 // Low Performance: neither pin has interrupt capability
18 Encoder knobEnc(0, 1);
19 Encoder scrollEnc(2, 3);
20 int encoderPins[] = {2,3,4,5,};
21 // (avoid using pins with LEDs attached)
15 // Best Performance: both pins have interrupt capability1Q
16 // Good Performance: only the first pin has interrupt capability
17 // Low Performance: neither pin has interrupt capability
18 Encoder knobEnc(0, 1);
19 Encoder scrollEnc(2, 3);
20 int encoderPins[] = {2,3,4,5,};
21 // (avoid using pins with LEDs attached)
It states that a rotary encoder with "interrupt capabilities" is recommended for this project (which connects to the Teensy 2.0++ pins, which the Teensy connects to the Raspberry Pi 2 via usb)
I'm guessing that interrupt capabilities are knobs that also act like pushbuttons, in the same way that car radio volume control knobs are (which you can push like buttons) "...the knob also acts as a pushbutton which sends an interrupt to your target board\'s MCU."
in
https://bitbucket.org/selectnone/raspipboy/wiki/Controls.md
He states that the rotary encoder's knob should also act like a push button, so that it's a mouse that alternates between diagnal and horizontal movements.
•Move Map Cursor
○Mouse Move
(Knob on back of hand: rotational encoder with switch - alternates between X/Y movement when pushed down)
○Mouse Move
(Knob on back of hand: rotational encoder with switch - alternates between X/Y movement when pushed down)