Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/23/03 12:58
Read: times


 
#39831 - DS1620. Look-up table?
Hi,
i'm trying to write code for DS1620 to display temp in LCD.
DS1620 gives 8bit (actually nine, but lets say i'm not interested in 9th bit) digital output (temp value). The real temp value is

for example:
00000010 = 1 celcius,
00000011 = 1.5 celcius,
00000100 = 2 celcius,
...
01000000 = 32 celcius,
etc.

Is there a way to get along without look-up tables?

If it is imppossible, could you give tips on creating look-up table? (i've read tutorial)
I think, i'd write code myself, but it would be VERY INSUFFICIENT. I tried to look for assembly codes online to 'get the ideas', but nothing useful found.
I'm sure it could be done very 'smart'. But how?

As i'll use ext. memory, in which my program will run, i'll have to save the table values ir RAM? I have not used look-ups before, that's why i'd like to avoid them.

would be appreciated for the help,
Rob

List of 19 messages in thread
TopicAuthorDate
DS1620. Look-up table?            01/01/70 00:00      
   RE: DS1620. Look-up table?            01/01/70 00:00      
      RE: DS1620. Look-up table?            01/01/70 00:00      
         Internal External memory            01/01/70 00:00      
            RE: Internal External memory            01/01/70 00:00      
   RE: DS1620. Look-up table?            01/01/70 00:00      
      RE: DS1620. Look-up table?            01/01/70 00:00      
   RE: DS1620. Look-up table?            01/01/70 00:00      
      RE: DS1620. Look-up table?            01/01/70 00:00      
         RE: DS1620. Look-up table?            01/01/70 00:00      
         RE: DS1620. Look-up table?            01/01/70 00:00      
   RE: DS1620. Look-up table? / Erik            01/01/70 00:00      
   Sample LUT            01/01/70 00:00      
      RE: Sample LUT            01/01/70 00:00      
         RE: Sample LUT            01/01/70 00:00      
            RE: Sample LUT            01/01/70 00:00      
   RE: DS1620. Look-up table?            01/01/70 00:00      
      RE: DS1620. Look-up table?            01/01/70 00:00      
         RE: DS1620. Look-up table?            01/01/70 00:00      

Back to Subject List