This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:programming_fundamentals_rtu:interrupts_and_sub-programs [2018/05/15 00:54] – kap2fox | en:iot-open:programming_fundamentals_rtu:interrupts_and_sub-programs [2020/07/20 09:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 91: | Line 91: | ||
| The example program that uses interrupt: | The example program that uses interrupt: | ||
| + | |||
| <code c> | <code c> | ||
| volatile bool button =0; //a variable to save button state | volatile bool button =0; //a variable to save button state | ||