Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use PythonEditor

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces the relevant knowledge of "how to use PythonEditor". In the operation of actual cases, many people will encounter such a dilemma. Then let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

1. TPYBoard development board

Generally speaking, the TPYBoard development board is a hardware platform that can run MicroPython, equipped with STM32F405RGT6 chips. It does not need any compilation tools, just a data cable to plug the board into the computer will display a drive letter, you can directly compile and run the program. It also encapsulates a lot of class libraries, such as serial port, UART, SPI and so on, which are ready-made and can be called directly.

2. PythonEditor online programming tool

PythonEditor is an online drag-and-drop programming tool for MicroPython with TPYBoard development board. The main interface includes a drag-and-drop block selection area on the left, a module editing area in the middle, a code display area on the right, a program save and run area below, and a drag-and-drop code switching area above.

3. Use steps

(1) get the splicing program through the Python Editor programming tool, as shown in the following figure, click to download the "main.py" program file.

(2) copy the downloaded "main.py" program to the computer drive letter "TPFlash" corresponding to TPYBoardv102.

(3) after waiting for the red light on the board to go off, you can run the program through putty software or use the on-board RST reset button (not recommended) to run the program.

That's all for the content of "how to use PythonEditor". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report