A small program I wrote to experiment with Telnet. You can just run the Python script to have an instant Telnet connection with your WiPy or LoPy. The script is setup for default Pycom credentials and address, but you can change them in the script to match custom credentials.
MicroPython v1.8.6-556-g989d5ac9 on 2017-03-30; LoPy with ESP32
Login as:
micro
Password:
Login succeeded!
Type "help()" for more information.
>>> print('hello world')
hello world
>>> print('hi\nuser')
hi
user
>>> for i in range(5):
... print(i)
...
>>>
0
1
2
3
4
>>>
PyMakr is end-of-life; Putty will also work, but entering in the details or selecting the correct device from the list, entering the username, password and reconnecting etc. can be a bit annoying sometimes.
This module might also be useful for people that do not want to install Putty or any other additional programs.
Lightweight and easy to use.
Instructions for Use- Save the Python module somewhere on your PC.
- Install Python (version 2) on your PC.
- Make a connection between your Wi-Fi adapter and the WiPy or LoPy
- [optional: change parameters in the script, like passwords and host]
- Run the script.
Currently the script only reads new data after a command is send. An improved version supporting threading will implement live updates and more capabilities soon.
ContributeIf you want to propose changes or improvements feel free to fork me on GitHub:
Comments
Please log in or sign up to comment.