FiPy without pymakr



  • Have a simple program running on FiPy loaded via atom/ prymakr
    I can disconnect from there and re-connect via MacOS/screen ay 115200
    It works until disconnected or reset pressed.
    However, on reset I get:

    Traceback (most recent call last):
      File "main.py", line 35
    SyntaxError: invalid syntax
    

    The simple program only has 21 lines so this is strange. Obviously the device when in real life will need to operate without a connection to pymakr.



  • Hi,
    The python code should work the same with or without Pymakr. Are you clicking the 'play' button or the 'upload' button in Pymakr when running the program? (The first will only send the lines, while the latter will save it to a file on the device, allowing it to run after reset)
    Let me know!


Log in to reply
 

Pycom on Twitter