MIDI
free ringtones samsung ringtones free free ringtones hydrocodone online order tramadol ambien online mtv ringtones motorola ringtones free funny ringtones free music ringtones cool ringtones fioricet online real ringtones online lorazepam cheap soma clomid online but clonazepam paxil online cheap lisinopril samsung ringtones sonyericsson ringtones cheap phentermine alltel ringtones sprint ringtones clonazepam online didrex online ultram online free verizon ringtones cheap celexa norco buy diethylpropion cheap tenuate verizon ringtones lipitor online buy diazepam verizon ringtones adipex online meridia online samsung ringtones free cingular ringtones clomid online cheap lisinopril carisoprodol online cheap paxil free ericsson ringtones free mono ringtones cheap albuterol ericsson ringtones ambien online cheap levitra didrex online midi ringtones clomid online cheap lipitor sagem ringtones cheap meridia sony ringtones cheap valium clomid online hoodia free music ringtones cheap hydrocodone cheap adipex hgh online cheap hgh order levitra free tracfone ringtones free sony ringtones propecia online vicodin online soma online free verizon ringtones buy meridia cheap vicodin verizon ringtones cheap alprazolam free nokia ringtones qwest ringtones sharp ringtones polyphonic ringtones viagra online sildenafil online buy didrex wellbutrin cyclobenzaprine free funny ringtones cheap rivotril paxil online sharp ringtones sagem ringtones order xenical hydrocodone online lortab online phentermine online lorazepam online polyphonic ringtones xenical online wellbutrin online but ultracet paxil online ultracet online jazz ringtones alprazolam online free mono ringtones online vicodin albuterol online funny ringtones free ringtones pharmacy online online cheap nexium vigrx online ativan online polyphonic ringtones flexeril free punk ringtones free midi ringtones ultram fioricet online free tracfone ringtones hydrocodone online free sprint ringtones cheap meridia valium online phentermine online cheap vicodin cingular ringtones buy wellbutrin adipex online midi ringtones cheap sildenafil sagem ringtones cheap flexeril free free ringtones real ringtones qwest ringtones cialis online free ericsson ringtones albuterol cheap phentermine free real ringtones lipitor online free funny ringtones ativan online free qwest ringtones tracfone ringtones levitra online free mp3 ringtones free real ringtones cheap phentermine punk ringtones free cingular ringtones music ringtones free sony ericsson ringtones cheap diazepam buy lortab free wwe ringtones samsung ringtones cyclobenzaprine online free sony ringtones cheap ativan valium online cialis online fioricet online cheap adipex sony ringtones funny ringtones cheap xenical tramadol online tracfone ringtones free alltel ringtones nokia ringtones buy tramadol cheap carisoprodol cheap wellbutrin hgh online viagra online carisoprodol online order vigrx free sonyericsson ringtones sagem ringtones order tramadol free mtv ringtones mono ringtones free wwe ringtones but valium hydrocodone online levitra free music ringtones free sharp ringtones motorola ringtones wellbutrin online diethylpropion online zoloft online punk ringtones free punk ringtones cheap fioricet free jazz ringtones cheap norco free midi ringtones buy alprazolam == Description ==
MIDI devices are very easy to connect to DS via DSerial. MIDI Out can be directly wired to the connector without any components. MIDI In requires to use an Optocoupler, but the schematic is quite simple.
The signal lines should be connected to DSerial CMOS-level UART at IO2 connector (do not use RS-232). Sending and receiving is done using the UART commands. Make sure to set baud rate to 31250bps as this is what MIDI is using.
Here is some sample code to send a note: <cpp> void midiWrite(u8 message, u8 data1, u8 data2) { u8 buffer[3]; buffer[0] = message; buffer[1] = data1; buffer[2] = data2; dseUartSendBuffer((char *) buffer, 3, true); /* blocking UART send */ }
/* then somewhere else do: */
dseSetModes(0); /* Disable RS-232 */ dseUartSetBaudrate(31250); /* MIDI baudrate is 31250 bps */
midiWrite(0x90, 0x11, 0x22); /* send a note to MIDI keyboard */ </cpp>
Schematic
Parts
- FOD260L optocoupler (3.3V, most other optocouplers are 5V...)
- 1N4148 switching diode
- ~1 kOhm resistor
- 220 Ohm resistor.