Maker Pro
Maker Pro

Hi all

K

Keysan

Jan 1, 1970
0
Hi all
I'm using a pic16f84 to read a temperature sensor. Temperature data is 14bit
long and i have to do some math operations to read the correct data,
temp=data*C1+data*C2 ecc. How to make it with the 8bit micro? I'm using
assembler
Excuse for my english, thank you
Gian Marco
 
D

david

Jan 1, 1970
0
how far have you got ?
want to share your code with us ?

David

i will help if i can
 
S

Spehro Pefhany

Jan 1, 1970
0
Hi all
I'm using a pic16f84 to read a temperature sensor. Temperature data is 14bit
long and i have to do some math operations to read the correct data,
temp=data*C1+data*C2 ecc. How to make it with the 8bit micro? I'm using
assembler
Excuse for my english, thank you
Gian Marco

You could use 32-bit integer math.

Best regards,
Spehro Pefhany
 
K

Keysan

Jan 1, 1970
0
Thank you, actually i've done only the routine to comunicate with the sensor
and the lcd display, now i need to print on it a human readable data..
 
Top