The question is "control on what level". Speed is of essence. Close loop control for a given control should not be interfered with JavaScript execution. As long as the hw interrupt and other time sensitive requests by flight control are timely handled, it works. Otherwise you have to move onto a dual core or two processors, where one is just taking care of the time sensitive things and co-ops / communicates with the other running Espruino...
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The question is "control on what level". Speed is of essence. Close loop control for a given control should not be interfered with JavaScript execution. As long as the hw interrupt and other time sensitive requests by flight control are timely handled, it works. Otherwise you have to move onto a dual core or two processors, where one is just taking care of the time sensitive things and co-ops / communicates with the other running Espruino...