F("Foobar" + String(i))? Dynamic flash.

Support forum for MegunoLink
Post Reply
Posts: 4
Joined: Thu Dec 16, 2021 12:54 pm

Sat Dec 18, 2021 6:46 am

I have to dynamically build the name of a control, e.g.

Code: Select all

"txtServoConfigTop" + String(servoIndex)
How do I convert this to a Flash string so that I can pass it as a name argument? Failing that, how do I reference a control by an index?
Post Reply