hello all [yet again],
i will try and make this my last post for today, as i have done three already, one of which has been answered, cheers :).
question is on the usb output.
my initial outcome for my controller is to control max patches and ableton instruments, plus also logic 8 and a wealth of other plug-ins, instruments and madness.
even video software, but thats another story.
the one problem i am having is getting the midi out of the arduino mega. i am having a tough time trying to get any connection at all, no midi learn or anything can be had, even when i do the setup.
i have seen posts about a patch or program that makes it easier to output the arduino to usb/midi data, but thats all it ends up being, are just posts, no resolution.
i am using a simple potentiometer sketch, plus have also been checking out the very awesome maxuino, but have trouble with both. i do use max 5 also, bu am just a little stuck [i think it might be the huge amount of looking at a screen and arduino, and hardly any eating :)]
many thanks...
lewis edwards
here is the code for the single pot.
int potPin = 0; // select the input pin for the potentiometer
int val = 0; // variable to store the value coming from the sensor
void setup() {
Serial.begin(9600);
}
void loop() {
val = analogRead(potPin); // read the value from the sensor
Serial.print(val,DEC);
Serial.print(" ");
delay(100);
}