Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Fluxia

Search: Search took 0.00 seconds.

  1. Replies
    4
    Views
    1,082

    I have now managed to fix the menu issue by...

    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...
  2. Replies
    4
    Views
    1,082

    I decide to improvise and copied the following...

    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...
  3. Replies
    4
    Views
    1,082

    Thank you for your reply. I have also looked...

    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...
  4. Replies
    4
    Views
    1,082

    Teensy 2.0 USB MIDI + MOUSE

    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...
  5. Replies
    12
    Views
    3,350

    I have tried it and the led lighten up when...

    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...
  6. Replies
    12
    Views
    3,350

    Thank you both. I have now been able to make the...

    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...
  7. Replies
    12
    Views
    3,350

    Thank you Chris very helpful. Are you aware of...

    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...
  8. Replies
    12
    Views
    3,350

    Thanks for your reply. If I understand it...

    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...
  9. Replies
    12
    Views
    3,350

    Teensy 2.0 interrupt

    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...
Results 1 to 9 of 9