Hey there!
Today I tried the visual micro IDE with my sketch, but it doesn't compile.
It does however, compile while using the arduino IDE.
The board is a teensy 3.1, using teensyduino 1.20 and the audio library
this code(which isn't my actual project) shows the problem:
the compiler gives this error:
I use example defines for teensy 3.1 on this page.
http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx
This gives the following defines, I added the DUSB_MIDI later
#define F_CPU 96000000
#define USB_SERIAL_HID
#define LAYOUT_US_ENGLISH
#define DUSB_MIDI
Too bad, it still doesn't compile.
has anyone experienced these kind of problems while using another IDE and usbMIDI?
I don't know if more information is required, but I'll provide what is needed.
thanks in advance,
Roel
Today I tried the visual micro IDE with my sketch, but it doesn't compile.
It does however, compile while using the arduino IDE.
The board is a teensy 3.1, using teensyduino 1.20 and the audio library
this code(which isn't my actual project) shows the problem:
Code:
/*
* miditest.ino
*
* Created: 10/31/2014 10:29:01 PM
* Author: Roel
*/
void setup()
{
usbMIDI.read();
/* add setup code here, setup code runs once when the processor starts */
}
void loop()
{
/* add main program code here, this code starts again each time it ends */
}
the compiler gives this error:
Code:
Compiling 'miditest' for 'Teensy 3.1'
miditest.ino:In function 'void setup()'
miditest.ino:10:2: error: 'usbMIDI' was not declared in this scope
Error compiling
I use example defines for teensy 3.1 on this page.
http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx
This gives the following defines, I added the DUSB_MIDI later
#define F_CPU 96000000
#define USB_SERIAL_HID
#define LAYOUT_US_ENGLISH
#define DUSB_MIDI
Too bad, it still doesn't compile.
has anyone experienced these kind of problems while using another IDE and usbMIDI?
I don't know if more information is required, but I'll provide what is needed.
thanks in advance,
Roel