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 noteOn.
So now I've tried this if line, as per your mention of && above
And I also tried this
But now I'm back to square one and the CC brightness control has no effect on the light once it's lit.
I have read through the link you posted but it's too far over my head sadly and leaves me even more confused than before. You mention this is just one way of doing it.. is there another way you could recommend that I might be able to get my head around easier?!
Many thanks for all your help.
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 noteOn.
So now I've tried this if line, as per your mention of && above
Code:
if (myNoteOn==60 && LeftRedPin > 0)
And I also tried this
Code:
if (myNoteOn==60)
But now I'm back to square one and the CC brightness control has no effect on the light once it's lit.
I have read through the link you posted but it's too far over my head sadly and leaves me even more confused than before. You mention this is just one way of doing it.. is there another way you could recommend that I might be able to get my head around easier?!
Many thanks for all your help.