Sorry I posted he flowchart that gives a warning, and since my hardware works ok, I did not notice any warnings to be honest.Steve wrote:This shows that your interrupt routines involve a fair amount of processing. Ideally you should keep these interrupt routines as simple as possible.
The stack corruption warning is a bit odd, since only one 7seg is lit on each activation of interrupt.
So either the 7seg uses delays, so interrupt will have to be exited to do that, hence corruption would occur.
Or the compiler can’t distinguish from how many 7segs within interrupt to how many are used at one time. Therefore all should be OK?
I thought the The interrupt is has been kept faily short? Someone who know more than I do will have to answer that one.
Martin