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: MIDI REnc button mbed
main.cpp
- Committer:
- ChuckTimber
- Date:
- 2014-08-11
- Revision:
- 4:c18cfcad2c48
- Parent:
- 1:2760654d0b44
File content as of revision 4:c18cfcad2c48:
/**
* @file main.cpp
* Project Gem8 - handles 8-gembox synth project application
* @brief Gem8 project application
* @version 1.0
* @author Chuck Timber
* @date 08/08/2014
*/
#include "mbed.h"
//#include "button.h"
//#include "REnc.h"
#include "MIDI.h"
// LED (active HIGH)
#define dbg_led_on() { }
#define dbg_led_off() { }
uint8_t midi_params[]={
0,0,0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,64,0,0,127,0,32,127,0,0,64,32,
};
DigitalOut myled(LED1);
int main() {
while(1) {
myled = 1;
wait(0.2);
myled = 0;
wait(0.2);
}
}