MIDI Transport Controller
Testing the Arduino Jog Sketch
First Test Results
Once the sketch is uploaded and running I slowly rotate the jog wheel. On the serial port monitor I see the numbers change in direct response to my movements of the wheel. Unfortunately, they do not increment and decrement smoothly (see below). In fact, they are wildly all over the place.
So what's going on? I expected, even before trying this sketch out, that debouncing of the switches would be required. I can debounce with hardware, using a Schmidtt trigger, or I can debounce in software. For the next sketch, I'll do the debounce in software.
Test Results Serial Output
1 238 -102 -230 -254 -265 -331 -330 -328 -332 -359 -365 -355 -356 -324 -230 -103 12 3 82 -391 -695 -651 -652 -807 -1080 -808 -806 -805 -804 -803 -799 -796 -797 -799 -832 -831 -829 -828 -829 -828 -827 -826 -817 -818 -814 -794 -458 -225 -443 -116 9 -700 -517 -1001 -426 -302 -303