you must know, what values fsbus returns on fuel. To see this, add a temporary display object and set source to fuel.
The display will show those % values of the fs dialog box for fuels.
If LED should shine from 0-20, set min to 0 and max to 20, thats all.
Since fuel is not a parameter which changes any microsecond, i have assigned a delay of 10s between each poll. This reduces system load and means that you have to wait a bit until LED goes on.
regards Dirk
|