Hi,
I am very new to all this MicroPython stuff and electronics is something which happened years ago, but still... what fun!
(I know much more of the Monty-version of Python, but that is something completely different) ).
I'd like to know how to change the default userid/password. (the one printed on the box). How to do that?
I have a millionbillion other questions but I will ask them in another post.
Thanks,
Ray
Change password
- danicampora
- Posts: 342
- Joined: Tue Sep 30, 2014 7:20 am
- Contact:
Re: Change password
Hi Ray,
There's a way to do it, but keep in mind that this will change in the next release, since it's one of the things that we didn't refactor along with the new API change.
Add this to your boot.py
You can also change the default timeout of the server.
Cheers,
Daniel
There's a way to do it, but keep in mind that this will change in the next release, since it's one of the things that we didn't refactor along with the new API change.
Code: Select all
import network
network.server_login('new_user', 'new_password')
You can also change the default timeout of the server.
Code: Select all
network.server_timeout(timeout_in_seconds)
Cheers,
Daniel