@yayAdrian: Did you change the line 'CODE=' in the code that you put into Espruino? If you didn't it may explain why you had to put the full code into sendMultiple
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.
Glad you got it working eventually!
@yayAdrian: Did you change the line 'CODE=' in the code that you put into Espruino? If you didn't it may explain why you had to put the full code into sendMultiple