[Logo] TCC discussion forum
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Top Downloads] Top Downloads   [Groups] Back to home page 
[Register] Register /  [Login] Login 


This forum is read only and new users cannot register, please ask all new questions either using GitHub discussions, or in Arduino forum tagging @davetcc.

Entering numerical values for rotary encoders RSS feed
Forum Index » tcMenu Arduinio library
Author Message
yuuki


Joined: Jan 19, 2021
Messages: 2
Offline
I am using a rotary encoder.

When I use a rotary encoder to change a value, if there are many digits, I have to turn the dial many times to set the desired value.

For example, is it possible to temporarily increase the speed when the dial is turned faster?

This is a very nice library. Thank you very much.
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
Hi there,

I think large number support would help out here.

Instead of rotating through a large number of values, instead, you can edit one digit at a time.

Just select "Large Number" instead of "Analog" as the menu type.

You can then deal with the resulting value as either two 32 bit integers for whole and fraction, or you can convert it into a floating-point. See: https://www.thecoderscorner.com/products/arduino-libraries/tc-menu/menu-item-types/largenum-menu-item/
davetcc


Joined: Jan 19, 2019
Messages: 686
Offline
It does have acceleration BTW, but once you get much over a thousand it starts to get difficult to accelerate enough for that. That's why we added large numbers.
yuuki


Joined: Jan 19, 2021
Messages: 2
Offline
Thanks for the advice.
I finished what I wanted to make.
 
Forum Index » tcMenu Arduinio library
Go to:   
Mobile view
Powered by JForum 2.7.0 © 2020 JForum Team • Maintained by Andowson Chang and Ulf Dittmer

This site uses cookies to analyse traffic, serve ads by Google AdSense (non-personalized in EEA/UK), and to record consent. We also embed Twitter, Youtube and Disqus content on some pages, these companies have their own privacy policies.

Our privacy policy applies to all pages on our site

Should you need further guidance on how to proceed: External link for information about cookie management.