You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • I think what you've got is this line:

    command = "X('+json.dumps(dict)+')/n"
    

    Note that you're using two different types of quotes - so you're actually just sending the string X('+json.dumps(dict)+')/n which is exactly what Espruino is seeing.

    If you did:

    command = "X("+json.dumps(dict)+")/n"
    

    Then you may have more success - that should actually send the data in dict rather than just the text json.dumps(dict).

About

Avatar for Gordon @Gordon started