Jump to content
Why become a member? ×

marilo

Member
  • Posts

    10
  • Joined

  • Last visited

Posts posted by marilo

  1. 19 hours ago, stoo said:

     

    Aaaah OK - I think that the

    MIDI_CREATE_DEFAULT_INSTANCE();

    line is a macro equivalent to

    MIDI_CREATE_INSTANCE(HardwareSerial, Serial, MIDI);

    - where "HardwareSerial" is the type of connection, "Serial" is the port name, and "MIDI" is the name of the instance you create to then refer to with your code later.

     

    So I think you would need to replace 

    MIDI_CREATE_DEFAULT_INSTANCE();

    with

    MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI);

    to do the same thing, but point to "Serial1" rather than "Serial"

     

    Can't be sure, but that's what I'd try next, anyway...

     

     

    Yes!! It works! I owe you! :D 

     

    • Like 1
  2. 15 hours ago, stoo said:

    I'm not really sure how to help you - I don't have an "every" version to test, but the Arduino website suggests it should be compatible with code written for the regular Nano.....

    Read this somewhere: "Also note that the Rx and Tx pins on the Nano Every board are Serial1, not Serial."  I´m not sure what this means, but I guess I have to dig deeper! Thanks anyway!

  3. On 31/05/2021 at 14:41, stoo said:

    Well this is a bit embarrassing.... On Thursday I did have a quick look at this and thought I'd found the problem. I was going to suggest it to you to try, but then thought I may as well test the change on mine seeing as I'd already dug it out. I made the change, recompiled it, uploaded it and.... no difference.

    Since then I've been dreading going back over 2 year old code to try and troubleshoot it. I finally decided to give it a look today. The code looked like it should work. Let's try and upload it again just in case..... BAM! Upload error due to not having the correct type of bootloader selected in the Arduino uploader. D'oh! Must have not noticed that pop up when I tried on Thursday. 

    So anyway - the line you're looking for is......

    static const byte pageCount =1; // how many pages we have configured

    And it needs to be.

    static const byte pageCount =2; // how many pages we have configured

    Hope this works OK on yours too! :D

    Thanks a lot for your help last time! Since then I´ve tweaked your code to suite my stuff. Everything's been working perfect. A while ago I bought a couple of Arduino Nano Every with no headers to save space and money. I thought it was the same thing as Nano. Seems it wasn't... Everything's working perfect with the screen but the problem is that nothings happening midi-wise. Is it possible to make the code work on the Nano Every? Included the code I´m using now.

    hxsMidiSwitcher220113_v1.ino

  4. 8 hours ago, stoo said:

    Well this is a bit embarrassing.... On Thursday I did have a quick look at this and thought I'd found the problem. I was going to suggest it to you to try, but then thought I may as well test the change on mine seeing as I'd already dug it out. I made the change, recompiled it, uploaded it and.... no difference.

    Since then I've been dreading going back over 2 year old code to try and troubleshoot it. I finally decided to give it a look today. The code looked like it should work. Let's try and upload it again just in case..... BAM! Upload error due to not having the correct type of bootloader selected in the Arduino uploader. D'oh! Must have not noticed that pop up when I tried on Thursday. 

    So anyway - the line you're looking for is......

    static const byte pageCount =1; // how many pages we have configured

    And it needs to be.

    static const byte pageCount =2; // how many pages we have configured

    Hope this works OK on yours too! :D

    Thank you thank you thank you!!! I would never found out that! I´m a beginner and know basically nothing about programming. Been building stompboxes and suddenly went down this Arduino rabbit hole! Starting to understand a tiny little bit but that's it. Hope I can be helpful in some other way than programming!! :)   🙏

    • Like 1
  5. 8 hours ago, stoo said:

    Uhhhh fair question..... I dug out my old controller and blew the dust off it to remind myself how it works..... and mine doesn't change pages either!

    I'm sure it used to, but it's been a couple of years since I've even looked at the old one. I know with the newer one I ended up finding a button layout I liked and almost never flip pages. Can't remember whether I got to the same point on the v1 and accidentally uploaded the single page version to github or something.

    I'll have a play with it and see if I can get it working again, but I'm not likely to get much time on it until the weekend.

    I understand! Thanks for helping out! :) 

  6. 55 minutes ago, stoo said:

    Hang on - aren't the combos you're talking about for pgup / pgdn ? If so - that's setup for changing the page displayed on the footswitch screen to an alternative control layout.... I wouldn't expect it to send any midi to the stomp for those....

    Not sure I´m following.. How should the stomp be configured to make the midi controller work as intended?`How do I switch to the alternate control layout? :)

  7. On 23/05/2021 at 13:58, stoo said:

    The obvious things to check first would be switch wiring and ordering - do all of the switches work individually?

    When you press them individually do they do what you'd expect?

     

    Yes they do and even sw3+4 (tuner) and 7+8 (reset) works. When I look at midi monitor everything seems ok for sw 1-8 individually as well as 3+4 and 7+8. When I press 1+2 or 2+3 midi monitor choses to reflect one of the 2 switches I press at once. I downloaded the hxsMidiSwitcher.ino from here: https://github.com/stoonoon/hxsMidiSwitcher . Is this the correct version?

  8. Hi Stoo!

    Thanks for making this available!

    Managed to get the initial page to work on your oled version of the switcher. Can´t make sw 1+2 and sw2+3 to work, so I´m stuck with FS1-5 + Snapshot 1-3. Sw 3+4 and 7+8 works though. Any idea what I´m doing wrong?

×
×
  • Create New...