Hello forum,
I have a question about wanting to take the InstaSpin program and control it with my own analog input.
I have already configured a module that reads the input from my analog device and now want to convert the output of that device into something that can control the motor signal.
I have been reading the sample code given in the InstaSpin package and it has a lot to do with the GUI to control the motor output. I was wondering where my starting point should be if I have already configured a program to read in analog input.
The input from the analog device would be on a range from 2-3V and I have read in some values to get similar readings from the ADC; although not completely accurate I might add.
If this question is too broad, a more narrow question would be to ask how I can include the DRV object class so that I am able to assign converted values to the RPM attribute of the DRV object.
"DRV_Obj *obj = (DRV_Obj *) handle;"
Thank you for your support,
Marcos.