Menu

#7 Implement Differential inputs and configuration via CFG file

open
nobody
None
2015-03-15
2015-03-14
Anonymous
No

Originally created by: GoogleCodeExporter
Originally owned by: JacobD10

Add ability to configure the AUX input values

EG:

y=m*x+b
So you can define 
m as the multiplier, 
b as the addition and 
x as an Aux input (or difference between aux inputs).
:)

So config for differential AUX input:
x=AUX1-AUX2
m=<some number>
b=<some number>

Or config for single AUX input

x=AUX1
m=<some number>
b=<some number>


Example innovate LC1 where 0V=9AFR 5V=16AFR
To calculate the Values for the CFG
M=( 16(Value at 5V)-9(Value at 5V) )/ 5V
The resultfor M = 1.4 
B= Value at 0V 
The resultfor B = 1.4

Y=AUX1-AUX2
M=1.4
B=9

Original issue reported on code.google.com by Markus.I...@gmail.com on 11 Mar 2015 at 8:44

Discussion

  • Anonymous

    Anonymous - 2015-03-14

    Originally posted by: GoogleCodeExporter

    Typing mistake in comment above
    
    B= Value at 0V 
    The resultfor B = 9
    

    Original comment by Markus.I...@gmail.com on 11 Mar 2015 at 12:29

     
  • Anonymous

    Anonymous - 2015-03-15

    Originally posted by: JacobD10

    Added support for this. Just needs testing. Currently compiles fine just not sure about runtime errors because I don't have any auxiliary inputs set up to test.

     

Log in to post a comment.