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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/19/07 14:11
Read: times


 
#131105 - Assumption
Responding to: ???'s previous message
Erik Malund said:
read_the_loadcell();

You're assuming he's using a load cell - just one of the many things that he failed to specify!

So, it should be:
void main( void )
{
   initialise_and_set_up_everything();

   display( "Copyright (c) 2007, 8052.COM" );

   for( ;; )
   {
      read_the_weight_sensor(); 
      average_the_readings(); 
      convert_to_units(); 
      display_result(); 
   }
}



List of 5 messages in thread
TopicAuthorDate
require code for weighing machine            01/01/70 00:00      
   here is the code in C            01/01/70 00:00      
      Assumption            01/01/70 00:00      
         Ok, better            01/01/70 00:00      
   require cashier's check for $1E7US to 8052.COM            01/01/70 00:00      

Back to Subject List