oh i see i forgot about the PWM lol
ok thats kl and i take it i can still run the rx and tx pins to and from my midi-usb interface cable?
could you give me an example of one line of code for the switch being pressed then the led on until swicth pressed again and send the midi note C-1 please
thanks for your help so far btw.