Low priority high priority interrupts vs state machine

Status
Not open for further replies.

thomen

Well-known member
Hi!
One for the coders.. I'm looking to run some servos some audio and some images on ssd1351 screens

I was talking to a digital artist who mentioned low priority and high priorty interrupts to "multitask"/give certain actions priority in the loop

I was wondering what he meant by this? In his case he was using a teensy to flash lights in response to music or play wav files on motion detection or have an automed show mode using a remote and then if motion was detected influence the show mode..

Any further reading on this kind of programming practice would be most appreciated..

Otherwise I was going to implement a standard state machine..
 
Yes, there are two levels of interrupts on these cores, but being honest, your question doesn't make much sense.

Can you tell us more about what you're trying to do?
 
Status
Not open for further replies.
Back
Top