Problem with Pygate example code



  • Hello,

    I received today my Pygate, but I have a issue with the example code:
    https://docs.pycom.io/tutorials/pygate/

    On the Pygate I attached a WiPy 3.0 (MicroPython 1.20.2.rc10). On Start of main.py I get:

    [...]
    Pycom MicroPython 1.20.2.rc10 [v1.11-a159dee] on 2020-06-26; WiPy with ESP32
    Pybytes Version: 1.5.1
    Type "help()" for more information.

    %Run -c $EDITOR_CONTENT
    Traceback (most recent call last):
    File "<stdin>", line 24, in <module>
    AttributeError: 'module' object has no attribute 'callback'
    [...]

    What do I wrong. I followed the instructions.



  • Hello Gijs,

    thank you for the hint. The Gateway ist now running and needs only some individual additions :)

    60cd82d5-176c-4cc0-b1c7-00b7a269512e-image.png

    Best regard
    Stefan


  • Global Moderator

    Hi,
    You should upload the pygate version of the firmware to your Wipy3 device. You can find it in the firmware updater tool!
    Best


Log in to reply
 

Pycom on Twitter