Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • fff54's Avatar
    10-28-2021, 05:56 PM
    Ahh, I found it! I was missing an extra = I had note60 = 1 instead of note60 == 1 Thanks again for your help!
    31 replies | 937 view(s)
  • fff54's Avatar
    10-28-2021, 05:40 PM
    Hi again @mortonkopf, I'm afraid I seem to have jumped the gun! It's not doing what I thought it was, the LEDs will still light if there is CC data but no noteOn ... Can you see a mistake in the code ? int...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-28-2021, 04:22 PM
    mortonkopf, thank you very much for your help, I think it's working now! I couldn't make the myControlChange section look like your example but I managed to get it to work. This is what I have and seems to be doing...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-28-2021, 03:47 PM
    Hi again mortonkopf Yes absolutely, re your "//add lines to go an update all leds that are currently on", I thought that having Pin>0 would indeed do this, but it seems this doesn't take into account the state of...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-28-2021, 03:04 PM
    Hi mortonkopf, thank you for this! I'm making progress...! So, I've converted this code to operate 2x RGB LED strips (instead of 8x single colour strips)... I compiled the following code and it works, in that I can...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-28-2021, 09:50 AM
    Thank you for the advice MarkT, I've done a lot of googling and watching tutorials but I'm well out of my depth and not getting any closer to understanding how to do this! Which is extra frustrating as from what you've...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-27-2021, 12:40 PM
    Thanks MarkT. I'm not a coder, I'm a total beginner to this world so I have no idea how to implement what you've said! Do you know if there is a tutorial somewhere that might help me?
    31 replies | 937 view(s)
  • fff54's Avatar
    10-27-2021, 12:32 PM
    Hi MarkT, thank you for the reply, it's good to know it's possible at least! Would you be able to give any more advice or instructions about how to achieve what you've suggested? Many thanks!
    31 replies | 937 view(s)
  • fff54's Avatar
    10-27-2021, 10:55 AM
    Hi Mark and everyone, I am back with the Teensy and the LED strips now and testing this code out: int allBrightness = 255; int DSLLPin = 16; int DSLCPin = 17; int DSRCPin = 20; int DSRRPin = 22;
    31 replies | 937 view(s)
  • fff54's Avatar
    10-23-2021, 10:41 AM
    I just tried to knock this up and it compiles OK, replacing the 8x single colour LED strips for 2x RGB LED strips.... What do you think? int LeftRedBrightness = 255; int LeftGreenBrightness = 255; int...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-23-2021, 10:29 AM
    Hi Mark, thanks for this, that's definitely a very helpful addition! So my next thought is that it must be relatively straight forward to convert this code to control an RGB strip too, right? Create an int for each of...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-21-2021, 06:56 PM
    Many thanks Mark, you have been incredibly helpful! I admit that I don't understand everything perfectly, but I'm definitely learning a lot... I managed to get the following code to compile successfully. I'm not...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-21-2021, 02:31 PM
    Hi again Mark! So in trying this out with a different value for each LEDs brightness name, I then get the error that, for example, 'DSLLBright' was not declared in this scope... (the same error for all of them) ...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-21-2021, 10:44 AM
    Hi Mark, thanks for this, it's starting to make a bit more sense to me! (I'm very new to this as I'm sure you can tell!) Could I then also have a different MIDI CC for each of the different LED strips? So, for...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-20-2021, 10:59 PM
    Hi again, bumping this up as I'm sadly no further on in my quest to trigger an LED strip on/off using MIDI note on/off, and then control the brightness with a MIDI cc after it has been triggered... Any advice would be...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-16-2021, 11:10 PM
    Thanks for streamlining this, that makes sense and I'll incorporate it. As for the InputFunctionsComplete example, I'll have a look again and see if i can get my head around how to use both note on/off and control...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-16-2021, 11:08 PM
    Hi Paul, yes I have seen that, but I don't want to use Control Change to trigger the LED strips, just to effect the brightness, while using note on/off to activate the strips... and I can't get my head around how to do...
    31 replies | 937 view(s)
  • fff54's Avatar
    10-16-2021, 03:40 PM
    Hi, I'm looking for some code help. I plan to control 8x LED strips with MIDI, via Teensy LC. I have so far managed to write the code so that each LED strip is individually controlled via a MIDI note on / note off, and...
    31 replies | 937 view(s)
No More Results
About fff54

Basic Information

Statistics


Total Posts
Total Posts
18
Posts Per Day
0.40
Last Post
MIDI control of LED strips 10-28-2021 05:56 PM
General Information
Last Activity
11-18-2021 12:12 AM
Join Date
10-16-2021