I've had a read though old posts regarding interrupts, but I cant seem to make one work properly..
I'll attach my code for a viewing..
When button is pressed the code starts too loop... (Great)
Now I need a Stop/Home button.. (which I thought was easy)
And a emergancy stop button.. (FULL STOP) Which I think is a job for an interupt? Just cant get it to work.
If you have time please look at my code, any code suggestions welcome.
I'll attach my code for a viewing..
When button is pressed the code starts too loop... (Great)
Now I need a Stop/Home button.. (which I thought was easy)
And a emergancy stop button.. (FULL STOP) Which I think is a job for an interupt? Just cant get it to work.
If you have time please look at my code, any code suggestions welcome.
Attachments
-
1.8 KB Views: 12