You are reading a single comment by @Owen and its replies. Click here to read the full conversation.
  • 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?

About

Avatar for Owen @Owen started