best way to hang?

Status
Not open for further replies.

DaQue

Well-known member
When I reach a point where I want the teensy to just stop until I run it again I have been using while(1); but I bet there is a better way. Should I put it sleep or is there a proper command I haven't found yet? The program runs until finished storing data to eeprom and when it reboots it then asks what to do now. I don't need anything to happen until a power cycle.
 
I think I'll do that. It might be a good habit to get into. You never know when you will get into battery powered stuff.
 
Last edited:
Status
Not open for further replies.
Back
Top