M M
M M
DIIDevHeads IoT Integration Server
Created by Camila_99$$ on 9/27/2024 in #firmware-and-baremetal
How can I set variable increments for a rotary encoder?"
Good suggestion! The switch statement with range comparison definitely improves readability and performance. But, the range-based case (case 0 ... 9) is a GCC extension and may not be supported on all compilers or platforms.
9 replies