Assigning terminal commands

Can anyone tell me how I can assign custom commands to use in terminal?
like if I type “BGN4” Arduino turns Virtual led 4 ON
Thank you :smile:

Have you seen terminal example? https://github.com/blynkkk/blynk-library/blob/master/examples/Widgets/Terminal/Terminal.ino

It’s pretty clear.

BLYNK_WRITE(V1) {
    if (String("my_string") == param.asStr()) {
    }
}
1 Like

I haven’t. Thank you :