Running Python on SPWF04Sx
hi
I am using afor SPWF04Sx Wi-Fi module - and am trying to run the example python code provided in the user guide.
I have the SPWF04Sx configured as console 2 (UART and python)
I have created a file called wind.py and copied the code from the WIND example section 5.2 on page 17 of AN49
I have used the command 'AT+S.FSC=wind.py,479' to copy it to the RAM on the SPWF04Sx
I have tried running it by calling 'AT+S.PYTHON=wind.py' but only get the response:
File '2:wind.py', line 1
SyntaxError: invalid systax
I have also tried the basic code in 5.1 and, i have created a one line python file with only print('hello') in it.
This also gets the same SyntaxError error
Any suggestions?
I've also noticed that the CTRL short codes dont work on my system i.e. CTRL-D is not recognised to exit REPL, -and I am unable to use CTRL-E to enter Paste mode. Any ideas on that one?
Note: this post was migrated and contained many threaded conversations, some content may be missing.