Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Bonjour OSCReceiver TextLCD mbed mbed-rpc BurstSPI DebouncedInterrupt FastIO MIDI OSC OSCtoCV ClockControl
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)