won't work . the isr can change the values as u copy them to the temp vars ,been there done that
won't work . the isr can change the values as u copy them to the temp vars ,been there done that
Ok some problems do not have an answer.
Bye
Steve Earl www.datageo.co.uk
only solution I know is to disable isr and copy vars to a buffer then enable isr and then perform calcs on the buffered data.
it may mean the odd lost interrupt / whats worse incorrect calcs or missed ints
only the designer can make that call .
Bookmarks