Enhance: Define named scripts in sketch (C++)
mikaelpatel opened this issue · comments
Mikael Patel commented
It should be possible to set a variable or function from the sketch. This allows the application to define a set of scripts.
shell.set(name, value);
shell.set(name, script);
Mikael Patel commented
David Harris commented
How about loading the stack before running the script?
Can I do:
shell.push(0); shell.push(4); shell.execute(script0);
Mikael Patel commented
That has been available for a while now :).
Mikael Patel commented
Allow scripts from SRAM and PROGMEM to be set. Please see commit dfa2fc5.