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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/08/07 00:06
Read: times


 
#142916 - but be sure to comment it carefully!
Responding to: ???'s previous message
Neil Kurzman said:
Example use:

unsigned int temp_array[3]={105, 405, 306};

That is definitely the way to go - but be sure to comment it carefully; eg,
unsigned int temp_array[3]={105, 405, 306}; // Temperatures in 0.1 celsius units

Since you're talking about a DS1620, and that supports a temperature range of -55°C to +125°C, you may well want to use 'signed' rather than 'unsigned' here...


List of 13 messages in thread
TopicAuthorDate
help required with array manipulation in c#            01/01/70 00:00      
   just having formatted            01/01/70 00:00      
   array not float?            01/01/70 00:00      
      Try This            01/01/70 00:00      
         but be sure to comment it carefully!            01/01/70 00:00      
   Why do you keep saying C# ??            01/01/70 00:00      
   Two things that are definitly wrong            01/01/70 00:00      
      Two things wrong with thing 1            01/01/70 00:00      
         Sorry and Thanks            01/01/70 00:00      
   Also..            01/01/70 00:00      
      ...and, 8051 specifically            01/01/70 00:00      
         8051 in C programming            01/01/70 00:00      
            first and second            01/01/70 00:00      

Back to Subject List