problem running pygate example code
Hello, i'm trying to run the example provided by pycom: https://docs.pycom.io/tutorials/pygate/
but as soon i uploaded the files a strange error appear.
any help would be apreciated
@jcaron Nevermind, you where right, there was one miss Identation that i didn't see thanks !!
Hi, @jcaron. Yes, I did but I'll try again and also flash de lopy4 with the Pygate version with the firmware updater tool.
@Elias-Tapia Did you keep all the spaces as in the original? Python (and micropython) is sensitive to the amount of white space as it is part of the syntax.
Make sure you really copy-paste the file to keep indentation identical.
Also, is the LoPy4 flashed with the Pygate version of the firmware?