Due to increasing spam attacks, forum registrations are currently paused to keep our community safe and spam-free. Come hang out and stay connected with us on the SimHub Discord: https://discord.com/invite/nBBMuX7!

Catch you on Discord — and thanks for understanding!
Problem with Encode...
 
Notifications
Clear all

Problem with Encoders

1 Posts
1 Users
0 Reactions
1,848 Views
 LJF
(@ljf)
New Member
Joined: 5 years ago
Posts: 1
Topic starter  

Hi all,

I've just put together a wheel with a nextion display, WS2812 LEDs, buttons, and rotary encoders, controlled by an arduino pro micro.

In my arduino sketch I've set each direction of the rotary encoder to trigger a different joystick button. This works fine in the windows control panel and in game when SimHub isn't running, but as soon as I open SimHub and enable the nextion display, turning the encoders triggers both buttons. I've tried changing the control debounce time in SimHub and also the delay times in my sketch but nothing seems to solve the issue.

Does anyone have any ideas?

Thanks!


   
Quote
Share: