Skip to content
Discussion options

You must be logged in to vote

Hi @Mick3DIY,

Your prototype looks great, nice work!

Here are my thoughts on your rotary encoder implementation - take them with a grain of salt, as they're based on my minimal experience with rotary encoders and a quick read-through of your code:

  1. You're replacing potentiometers - which would normally correspond with Axis inputs - with encoders that appear as two discrete Button inputs. I assume the intention is to use the encoders as UI navigation style controls (i.e. cycling through menu options, etc.) and that the relative "position" of the encoder isn't important.

  2. The time.sleep(0.1) at the end of your main loop is a no-no. That single statement means that js.update() can be calle…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Mick3DIY
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants