Go Down

Topic: Is it possible to jump out of the loop function? (Read 6637 times) previous topic - next topic

mowcius

The 'infinite' loop of while(1) is broken if you have interrupts...  :-?

AWOL

If you disconnect the clock, the processor will halt.
I imagine blasting caps strapped to crystals are frowned upon in most jurisdictions?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

DigitalJohnson

Quote
Suicide is never the solution.

Quote
Or have the latch drive a servo attached to the chip that then yanks the processor out of it's socket?


Quote
The servo should have a big capacitor to finish I guess


Quote
I imagine blasting caps strapped to crystals are frowned upon in most jurisdictions?


This has to be one of the funniest posts I've read here yet. Had me laughing pretty hard. ;D ;D ;D

Thanks,
DJ
DigitalJohnson

Wagner Sartori Junior


WizenedEE

#19
Jan 09, 2011, 09:59 am Last Edit: Jan 09, 2011, 09:59 pm by WizenedEE Reason: 1
Code: [Select]

void dropHammer(){


EDIT:

Quote
The 'infinite' loop of while(1) is broken if you have interrupts...  


Code: [Select]

void shutdown() {
 for (i=0; i<18, i++){
   detatchInterrupt(i);
 }
 while (1){}
}

   

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy