![]() The resultant code builds on my previous Instructable which sought to reliably read the rotation pulses and direction. I decided to follow some advice to use if() statements for a simple menu structure and keep it sketch-based. I wanted to write code which would allow unambiguous top level menu navigation but also allow you to quickly scroll through a large range of values within each sub-menu/setting, exploiting the strengths of the rotary encoder. We know that rotary encoders are a great hardware input option because they afford relatively fast input value changes while retaining fine control at slow speed. These menus were geared around selecting between a small number of modes and incrementing values relatively slowly. Another drawback of many alternatives was that the code was designed for LCD screens and momentary push buttons, not rotary encoders and adaptable to other display outputs. The problem I had with existing Arduino menu libraries and menu code is that for simple menus they were overly complicated. Arduino Tutorial Online Courses Video Training.Arduino Nano Projects List in PDF offline downloadable.Android based arduino Projects List Download PDF.esp8266 arduino projects list in pdf offline downloadable. ![]()
0 Comments
Leave a Reply. |