Here's a MIDI input example in Great Cow Basic. It's purpose is simply to respond to MIDI Start, Stop and Continue commands. This is more a demo than anything, but could indeed be used as-is to control digital recorders, sequencers, lights and whatever else is out there that responds to those signals.
More importantly, it illustrates the use of the analog comparators, the USART and interrupts. And you get to see how to implement a circular queue. The code is very short and sweet for all that, and the circuit can be built up in minutes, it's so simple.
Here's the code. The schematic follows in the next post.
Hi Gang,
Here's a MIDI input example in Great Cow Basic. It's purpose is simply to respond to MIDI Start, Stop and Continue commands. This is more a demo than anything, but could indeed be used as-is to control digital recorders, sequencers, lights and whatever else is out there that responds to those signals.
More importantly, it illustrates the use of the analog comparators, the USART and interrupts. And you get to see how to implement a circular queue. The code is very short and sweet for all that, and the circuit can be built up in minutes, it's so simple.
Here's the code. The schematic follows in the next post.
Thomas Henry
Last edit: Anonymous 2014-02-27
And here's the schematic...
Last edit: Anonymous 2014-02-27
nice. Thanks.
Can you explain the basic theory of the queue ?
Last edit: polyconnect 2014-11-03