I''m stuck.Need help with some equation problem...
Archiver
Posts: 46,084
Mizi,
> Hi there...
> I am new at this.I am using BS 2 for my project.I am using a pressure
> sensor as input and i need to get the output to LCD and computer.my
> questions are:
What sensor are you using? Give us details of what you are doing.
>
> 1)in my program, i have to use this equation:
> lbs = 0.0299* Volts - 0.0588 ,how to write this equation?i tried but
> it wouldn't allow me to use decimals.
I don't think you can directly use that formula with a Stamp, because it
doean't do floating point math. There are others that can help you with the
intger math needed, but not me.
Jonathan
www.madlabs.info
> Hi there...
> I am new at this.I am using BS 2 for my project.I am using a pressure
> sensor as input and i need to get the output to LCD and computer.my
> questions are:
What sensor are you using? Give us details of what you are doing.
>
> 1)in my program, i have to use this equation:
> lbs = 0.0299* Volts - 0.0588 ,how to write this equation?i tried but
> it wouldn't allow me to use decimals.
I don't think you can directly use that formula with a Stamp, because it
doean't do floating point math. There are others that can help you with the
intger math needed, but not me.
Jonathan
www.madlabs.info