I just received my WiPy. The first problem is that the IP address of the AP collide with my home network router.
So, I used the expansion board and after duplication the term to the uart I am now able to communicate with the WiPy using the Minicom terminal program on my Linux PC. The next thing I wanted to do is configuring the WiPy as another device on my home network.
So, in Minicom I entered:
Code: Select all
>>> from network import WLAN >>> wifi = WLAN(WLAN.STA) >>> wifi.ifconfig('192.168.1.235', '255.255.255.0', '192.168.1.1', '192.168.1.1') Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: can't convert to int >>>
What am I doing wrong?