Hi
I have a pressure sensor where after calculations of sensordata i get out one digit at a time. To write this to a LCD is wery easy, but i want to save the value with the put command.
the typical value is 1024mbar.
from program:
RMSW = RMSW //10000 : B0= RMSW / 1000 +48 : SerOut SerLCD, baud, (B0); output Thousands value
RMSW = RMSW //1000 : B0= RMSW / 100 +48 : SerOut SerLCD, baud, (B0); output Hundreds value
RMSW = RMSW //100 : B0= RMSW / 10 +48 : SerOut SerLCD, baud, (B0); output Tens value
RMSW = RMSW //10 : B0= RMSW + 48 : SerOut SerLCD, baud, (B0); output Units value
How can I do this? is it possible to convert this to a word bit?
I want to save 24 values. One for eath hour.
thanks for all help
Jansen
I have a pressure sensor where after calculations of sensordata i get out one digit at a time. To write this to a LCD is wery easy, but i want to save the value with the put command.
the typical value is 1024mbar.
from program:
RMSW = RMSW //10000 : B0= RMSW / 1000 +48 : SerOut SerLCD, baud, (B0); output Thousands value
RMSW = RMSW //1000 : B0= RMSW / 100 +48 : SerOut SerLCD, baud, (B0); output Hundreds value
RMSW = RMSW //100 : B0= RMSW / 10 +48 : SerOut SerLCD, baud, (B0); output Tens value
RMSW = RMSW //10 : B0= RMSW + 48 : SerOut SerLCD, baud, (B0); output Units value
How can I do this? is it possible to convert this to a word bit?
I want to save 24 values. One for eath hour.
thanks for all help
Jansen