Tell us about yourself!

Complete Your Profile
  • jeffr201 commented on SimonM83's instructable Easy Arduino Menus for Rotary Encoders 7 months ago
    Easy Arduino Menus for Rotary Encoders

    Hi Simon, Thanks for sharing. I have never dealt with interrupts before, so this is my first attempt with them. I could use a little guidance from you or anyone on the thread. My situation is that I need to "long press" the button to enter the menu filed, then use the rotary to choose from a set value or decision. For more clarity the flow would look something like this:Long press --> enters 1st menurotary to select --> On /Offshort press to save and move to menu 2rotary to select number of minutesshort press to save and move to menu 3rotary to select temperatureshort press to save and move to menu 4etc...until the last menu where it exist and returns to the main loop.My current issue is that the interrupt pulls the arduino out of the menu loop and returns it back ...

    see more »

    Hi Simon, Thanks for sharing. I have never dealt with interrupts before, so this is my first attempt with them. I could use a little guidance from you or anyone on the thread. My situation is that I need to "long press" the button to enter the menu filed, then use the rotary to choose from a set value or decision. For more clarity the flow would look something like this:Long press --> enters 1st menurotary to select --> On /Offshort press to save and move to menu 2rotary to select number of minutesshort press to save and move to menu 3rotary to select temperatureshort press to save and move to menu 4etc...until the last menu where it exist and returns to the main loop.My current issue is that the interrupt pulls the arduino out of the menu loop and returns it back to the main loop. Hence I am unable to use the sequencing that you have in your code.Thoughts? Thanks,Jeff

    View Instructable »