/* 3個のスイッチ付きロータリーエンコーダ(A, B, C=GND, SW)を読み取り、 回転イベント(クリック単位)とスイッチ押下 ...
以前、秋月電子通商で「LED付ロータリーエンコーダー(赤)ツマミ付セット」を購入した。これをESP32 Arduinoで使う方法を入門してみる。 本来は、以下のコードで、4つのビットパータンがそろったとき、1回分と判定する必要がある。どの程度、期待通りに ...
Demo projects for a microcontroller with an SH1106 128x64 OLED and rotary encoder. Built around a cheap OLED + rotary encoder module from AliExpress, plus two buttons on a breadboard. Developed on a ...
“I looked at all the available rotary encoder sketches and none of them met my needs, so I have written my own, and here it is”. Well, I looked at all the ...
As you may have noticed, I’ve been working with an STM32 ARM CPU using Mbed. There was a time when Mbed was pretty simple, but a lot has changed since it has morphed into Mbed OS. Unfortunately, that ...
We always think it is interesting that a regular DC motor and a generator are about the same thing. Sure, each is optimized for its purpose, but inefficiencies aside, you can use electricity to rotate ...
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 ...