Nice! If this were a module, you could do something like this from within an existing module, and it would all 'just work':
var tst1 = require("asm").load("int(int,int)",[0x1840,0x4770]);
The module could also do some more interesting stuff - perhaps using STM32F1Flash to write the data into flash memory, so it can still be used after power off.
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.
Nice! If this were a module, you could do something like this from within an existing module, and it would all 'just work':
The module could also do some more interesting stuff - perhaps using STM32F1Flash to write the data into flash memory, so it can still be used after power off.