I have now managed to fix the menu issue by changing the lines in "boards.txt" from this:
teensy2.menu.usb.midiMouse.name=MIDI + MOUSE
teensy2.menu.usb.midiMouse.build.define0=-DUSB_MIDI_MOUSE...
Type: Posts; User: Fluxia
I have now managed to fix the menu issue by changing the lines in "boards.txt" from this:
teensy2.menu.usb.midiMouse.name=MIDI + MOUSE
teensy2.menu.usb.midiMouse.build.define0=-DUSB_MIDI_MOUSE...
I decide to improvise and copied the following lines (anything I could find related to mouse) from usb_api.cpp (hid folder) to my new usb_api.cpp (usb_midi_mouse folder) :
void...
Thank you for your reply.
I have also looked further at Rob's usb.c file and how he has edited it.
I have now copied the usb.c file in my "usb_midi" folder to my "usb_midi_mouse" folder and...
Hello
I am trying to use encoders of my midi controller to act as mousescroll. Having read some posts I found that this one ( https://forum.pjrc.com/threads/23814-MIDI-HID-combo ) is the one...
I have tried it and the led lighten up when changing the state of the pin 0 with a push button but it's not very consistent. Not sure that I am actually using it appropriately but thank you. Now I...
Thank you both. I have now been able to make the encoder work using the attachinterrup function. Not sure what happened yesterday as I used exactly the same code (just rewired my breadboard...), and...
Thank you Chris very helpful. Are you aware of any library that exist to simplify using the pin change interrupts? I have only just started learning arduino two months ago so I think that I may...
Thanks for your reply. If I understand it correctly the table shows that I can only use 4 pins with interrupt capability, but I need 6. If use only one interrupt capable pin for two encoders this...
Hello
I am just learning to code microcontrollers and my current project is to build a MIDI controller using a teensy 2.0. I need at least six pins with interrupt capability as I am using three...