After finishing my second prototype of a MIDIShield for Arduino I’ve dug into writing a useful sketch to use with it. It’s been tougher than I expected working with timer and interrupt settings for the AVR – though dealing with incoming MIDI data was pretty straightforward. The rough spot comes when I try to communicate with the DAC chip (MCP4921) within an interrupt. So far, using the “HelloSineTone” example from the Arduino Pocket Piano shield has proved unsuccessful. Hmmm, more development progress to come …
ADVERTISEMENT