HOW TO BUILD A JOGWHEEL ( DIY ARDUINO )

Today i show you how to build a simple DIY Jogwheel using a Arduino controller and a rotary Encoder, let me know if you want to see more projects like this as well. Today i am using a Arduino micro clone from eBay How Rotary Encoder Works and How To Use It with Arduino by How To Mechatronics Custom Mouse Wheel As PocketNC Jog Wheel by Allwine Designs Track: Kozah - Heavens [NCS Release] Music provided by NoCopyrightSounds. Watch: Free Download / Stream: CODE *** youtube comments wont allow angle bracket it!! @ = Left $= Right*** ------------ #include @Keyboard.h$ int pinA = 2; int pinB = 3; int pinC = 4; volatile int previous = 0; volatile int counter = 0; void setup() { pinMode(pinA, INPUT_PULLUP); pinMode(pinB, INPUT_PULLUP); attachInterrupt(digitalPinToInterrupt(pinA), changed, CHANGE); attachInterrupt(digitalPinToInterrupt(pinB), changed, CHANGE);
Back to Top