Are you saying that you can define multiple callbacks with the xxx.on(...) type handlers? I would have expected that if I defined one, it would overwrite the old one... So how do you remove a handler? Or are those handlers only removable by reset?
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.
Are you saying that you can define multiple callbacks with the xxx.on(...) type handlers? I would have expected that if I defined one, it would overwrite the old one... So how do you remove a handler? Or are those handlers only removable by reset?