※D13のみINPUT_PULLUPが使用できないため、スイッチ側を+5v接続にしてLOW判定を使用 #include <Encoder.h> /* ===== Rotary Encoders x6 + Push Switches ----- ・エンコーダ0〜2 … デジタルピン D2-D7, SW ...
Turns the ultimarc spintrak spinners into either USB mouse x-axis mode or left-stick-x-axis mode, using an Arduino Pro Micro. The arduino also works as an arcade button+stick encoder as well. Giving ...