OSC-CV Converter
Dependencies: Bonjour OSCReceiver TextLCD mbed mbed-rpc BurstSPI DebouncedInterrupt FastIO MIDI OSC OSCtoCV ClockControl
OSC to CV Converter
http://gtbts.tumblr.com/post/125663817741/osc-to-cv-converter-ver2-mbed-osctocv
Revision 1:fd4f70088311, committed 2012-12-23
- Comitter:
- casiotone401
- Date:
- Sun Dec 23 13:48:54 2012 +0000
- Parent:
- 0:a4d93cd4c30d
- Child:
- 2:83bc45c48526
- Commit message:
- minor change
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Dec 21 13:32:18 2012 +0000 +++ b/main.cpp Sun Dec 23 13:48:54 2012 +0000 @@ -30,7 +30,7 @@ #include "OSCReceiver.h" #include <stdlib.h> #include <ctype.h> -#include "math.h" +#include <math.h> //------------------------------------------------------------- // Define @@ -196,8 +196,8 @@ DigitalOut gSYNCMODE(p15); // SYNC DAC8568 DigitalOut gLDAC(p16); // LDAC DAC8568 -DigitalOut gGATES[4] = {p21, p22, p23, p24}; // GateOut -DigitalOut gLEDS[4] = {p18, p19, p20, p28}; // LED +DigitalOut gGATES[4] = {p22, p23, p24, p25}; // GateOut +DigitalOut gLEDS[4] = {p18, p19, p20, p21}; // LED DigitalOut gCLOCKOUT(p25); // ClockOut AnalogIn gAIN(p17); // Glide Potentiometer @@ -327,8 +327,6 @@ void UpdateCV(unsigned char control, unsigned char address, unsigned int data) { - typedef unsigned char byte; - __disable_irq(); switch(control)