Generating led command from an element of an array

Looking for a solution using the led command where the led#1 is generated from a variable.
eg led#myarray(number].on();

used for writing a led number from an array instead of 25 for loops.

resolved Blynk.virtualWrite(Str1, 0);
where Str1 is from a string char Str1 = “V3”;

1 Like