Shop OBEX P1 Docs P2 Docs Learn Events
I''m stuck.Need help with some equation problem... — Parallax Forums

I''m stuck.Need help with some equation problem...

ArchiverArchiver Posts: 46,084
edited 2003-03-30 21:33 in General Discussion
On step 1, there are several answers. Sometimes you can scale things. So
for example,

3*V-6 might be close enough if V is an integer you are reading from
somewhere. Or:
30*V-59 would be even closer. You have to make sure 30*V is never >65535
though.

Another answer is a PAK-I, II, or IX. The PAK-IX (and you can get these
from Parallax now) has an A/D and performs floating point math. The
PAK-I and II are similar but have no A/D. Read
http://www.al-williams.com/pak1temp.htm for an example.

Is the LCD a serial LCD? Or a 14 wire?

For #3 we probably need more info to give you any actual advice.

Regards,

Al Williams
AWC
* 8 channels of PWM
http://www.al-williams.com/awce/pak5.htm



>
Original Message
> From: ismiezie [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=Cd_NqHs8aIt4VOjQImuBtbX9VHPUjxVr3tLt0IYad9S5lAEPxjdgOu060HbHefz68yFG0pWyh1XZ60wn4LY]ismiezie@y...[/url
> Sent: Sunday, March 30, 2003 1:04 PM
> To: basicstamps@yahoogroups.com
> Subject: [noparse][[/noparse]basicstamps] I'm stuck.Need help with some equation
> problem...
>
>
> 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:
>
> 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.
>
> 2)i have to display the output using computer and LCD.i did get the
> output using computer.i don't know how to display the output using
> LCD.by the way,i'm using Matrix Orbital LK162-12 for my LCD.is there
> a special program that i need to use?
>
> 3)i need to store the data and then read it later.what should i do to
> store the data?
>
> Any help would be great.Thanx...
> mizi...
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the
> Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
>
>
Sign In or Register to comment.