Search Results

by stever1388
Thu Sep 20, 2018 10:30 am
Forum: InterfaceKits
Topic: Convert Potentiometer value from 0-1000 to it's actual value
Replies: 3
Views: 15520

Re: Convert Potentiometer value from 0-1000 to it's actual value

Instead of dividing by 360, you should divide by 1000 and multiply by 360. You may also want to add an offset or orient the potentiometer so that 0° corresponds to the neutral position. Yes I realized after I posted that I worded that incorrectly (and I am dividing by 1000 and then multiplying by 3...
by stever1388
Wed Sep 19, 2018 11:47 am
Forum: InterfaceKits
Topic: Convert Potentiometer value from 0-1000 to it's actual value
Replies: 3
Views: 15520

Convert Potentiometer value from 0-1000 to it's actual value

Hello, I'm using a Rotary Potentiometer - WDA-D35-D4C (ID: 3583_0) attached to a PhidgetInterfaceKit 8/8/8 (ID: 1018_2B) to track movement of a gun like object pointed at a screen. I'm using the C# library to access the Interface kit in code. In code, after connecting to the Interface kit I use this...