Skip to content

Commit

Permalink
Update README.textile
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanseidel committed May 11, 2013
1 parent 5319ccf commit de1fd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.textile
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ h3. TIPs and Warnings
* Running tasks on the Timer interrupts must be tought REALLY carefully
You cannot use "sleep()" inside a interrupt, because it will get into a infinite loop.
Things must do stuff quickly. Waiting too loooong on a interrupt, means waiting too loooong on the main code (loop)
Thinks might get "scrambled". Since Timers interrupts actualy "BREAK" your code in half and start running the interrupt, you might want to call @noInterrupts@ and @interrupts@ in time sensitive cases:
Things might get "scrambled". Since Timers interrupts actualy "BREAK" your code in half and start running the interrupt, you might want to call @noInterrupts@ and @interrupts@ on places where cannot be interrupted:

pre. noInterrupts();
// Put the code that CANNOT be interrupted...
Expand Down

0 comments on commit de1fd65

Please sign in to comment.