Yes - certain things (filesystem, graphics, http) are built in to Espruino - but most other things that you use require for are just bits of JavaScript. When you type require and then click Send to Espruino, the Web IDE tries to find the JavaScript module with that name where @JumJum mentioned, and if it finds it then it'll copy it into Espruino first :)
The Espruino is smart enough to do it itself as well (without the Web IDE) - but you need either to have the modules on an SD card, or to be connected to the internet via something like a CC3000.
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.
Yes - certain things (filesystem, graphics, http) are built in to Espruino - but most other things that you use
require
for are just bits of JavaScript. When you typerequire
and then clickSend to Espruino
, the Web IDE tries to find the JavaScript module with that name where @JumJum mentioned, and if it finds it then it'll copy it into Espruino first :)The Espruino is smart enough to do it itself as well (without the Web IDE) - but you need either to have the modules on an SD card, or to be connected to the internet via something like a CC3000.