Results 1 to 6 of 6
Thread: Rotary Encoders and FSUIPC
-
12-21-2014, 02:58 PM #1
Rotary Encoders and FSUIPC
Well I'm stumped after five hours of this, so I decided to ask the public for help:
I bought a set of rotary encoders and wired them to my input card. They're the kind of rotary encoders that will activate both inputs when you turn it, but in a different order depending on the direction (If I turn it left, input 2 will pulse, followed by input 1. If I turn it right, input 1 will pulse, followed by input 2). The problem is that if I set one of the inputs as an INCREASE function and the other one as a DECREASE function, the two will cancel each other out. I read through the users manual to try and figure out a way to do it manually in the FSUIPC ini, and came up with something that sort of works, but is very unreliable. Does anyone have a better method?
Here is the ini section, in case I'm on the right track and a simple modification might fix it:
Code:[Buttons.Avro 748] POLLINTERVAL=12 BUTTONREPEAT=75,0 BUTTONREPEAT=75,1 1=CU(+0,1)0,0,C65880,0 2=CU(+0,0)0,1,C65879,0
-
12-23-2014, 02:56 PM #2
Re: Rotary Encoders and FSUIPC
Has anyone here had to work with this type of encoder?
-
12-25-2014, 11:28 AM #3
- Join Date
- Dec 2010
- Location
- Netherlands
- Posts
- 20
Re: Rotary Encoders and FSUIPC
Perhaps you will have more luck to ge an answer on the Peter Dowson Forum, http://forum.simflight.com/forum/30-...owson-modules/
-
12-25-2014, 01:40 PM #4
Re: Rotary Encoders and FSUIPC
Yeah, Pete is awfully quick to reply. I'll see if anyone here has any ideas, then if it doesn't sort out in a few days, I'll ask over there.
Thanks
-
12-25-2014, 02:05 PM #5
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: Rotary Encoders and FSUIPC
Hi,
this may help you. There is also some examples in the SDK I believe.
http://forum.simflight.com/topic/682...r-input-speed/
Les
-
12-28-2014, 05:00 PM #6
Re: Rotary Encoders and FSUIPC
Thanks, I'll be sure to check it out!