Hi Gordon,
I'm only using the unminifed code from your code example, does espruino minify it on the fly?
I tried putting all of the module code into the IDE, like this: http://pastebin.com/MatnNmhY
ERROR: Got ':' expected '(' at line 15 col 12
print : function(str) {
^
ERROR: Got function expected ':' at line 15 col 14
print : function(str) {
^
at line 15 col 21
print : function(str) {
^
in function "hd44780" called from line 1 col 26
ERROR: Using '.' operator on non-object at line 1 col 4
led.print("Hello World!");
^
=undefined
It looks like a syntax error but there is nothing wrong with it? Any ideas what I should try next?
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.
Hi Gordon,
I'm only using the unminifed code from your code example, does espruino minify it on the fly?
I tried putting all of the module code into the IDE, like this: http://pastebin.com/MatnNmhY
It looks like a syntax error but there is nothing wrong with it? Any ideas what I should try next?