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
Thanks
Re: Rotary Encoders and FSUIPC
Has anyone here had to work with this type of encoder?
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/
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
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
Re: Rotary Encoders and FSUIPC
Thanks, I'll be sure to check it out!