Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/13/04 12:51
Read: times


 
#74156 - RE: WHy the timer?
Responding to: ???'s previous message
If I handle them as soon as they arrive, I might as well just do everything in the ISR as Russell suggests, which may not be a bad idea.

I have a super loop in main() that just updates LEDs and debounces buttons, but my button debounce routine loops infinitely until a button is released, so dealing with the MIDI buffer there would not be ideal.

All other activities I was trying to keep interrupt based also. Sending MIDI bytes, which will be tempo based is ideal for a timer interrupt.

I googled for any MIDI examples, but almost everything was for sending bytes, not receiving them.

Thanks
John K.

List of 18 messages in thread
TopicAuthorDate
serial buffer and MIDI message handling            01/01/70 00:00      
   RE: serial buffer and MIDI message handling            01/01/70 00:00      
      RE: serial buffer and MIDI message handling            01/01/70 00:00      
   WHy the timer?            01/01/70 00:00      
      RE: WHy the timer?            01/01/70 00:00      
   RE: serial buffer and MIDI message handling            01/01/70 00:00      
      RE: serial buffer and MIDI message handling            01/01/70 00:00      
         RE: serial buffer and MIDI message handling            01/01/70 00:00      
            RE: serial buffer and MIDI message handling            01/01/70 00:00      
               RE: serial buffer and MIDI message handling            01/01/70 00:00      
                  RE: serial buffer and MIDI message handling            01/01/70 00:00      
                     RE: serial buffer and MIDI message handling            01/01/70 00:00      
                        RE: serial buffer and MIDI message handling            01/01/70 00:00      
                           RE: serial buffer and MIDI message handling            01/01/70 00:00      
   RE: serial buffer and MIDI message handling            01/01/70 00:00      
      RE: serial buffer and MIDI message handling            01/01/70 00:00      
         RE: serial buffer and MIDI message handling            01/01/70 00:00      
            RE: serial buffer and MIDI message handling            01/01/70 00:00      

Back to Subject List