Problem with Encode...
 
Notifications
Clear all

Problem with Encoders

1 Posts
1 Users
0 Reactions
1,605 Views
 LJF
(@ljf)
New Member
Joined: 4 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: