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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/15/03 14:03
Read: times


 
#45507 - RE: can not write to port(s) (89s8252)
Responding to: ???'s previous message
"This is a '51 not a stupid PC, read your compiler manual"

What Erik really meant to say was:

Do this instead:

void main(void)
{
...

while(1);
}

The while(1); prevents the CPU executing whatever lies in memory after your code, and it doesn't really make sense to return a value from an 8051 program.


List of 33 messages in thread
TopicAuthorDate
can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
         RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
         RE: can not write to port(s) (89s8252)            01/01/70 00:00      
            RE: can not write to port(s) (89s8252)            01/01/70 00:00      
            RE: can not write to port(s) (89s8252)            01/01/70 00:00      
               RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
         RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
         RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
         RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      
      RE: can not write to port(s) (89s8252)            01/01/70 00:00      
   New development:s - final message            01/01/70 00:00      
      RE: New development:s - final message            01/01/70 00:00      
         RE: New development:s - final message            01/01/70 00:00      
   RE: just one more comment            01/01/70 00:00      
      RE: just one more comment            01/01/70 00:00      
         RE: just one more comment            01/01/70 00:00      
   RE: can not write to port(s) (89s8252)            01/01/70 00:00      

Back to Subject List