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

What is MicroPython?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Today, I would like to share with you the relevant knowledge of what MicroPython is. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article. Let's take a look at it.

MicroPython is a streamlined and efficient implementation of the Python 3 language, including a small portion of the Python standard library, optimized to run in microcontrollers and restricted environments. MicroPython is designed to be as compatible with ordinary Python as possible, easily transferring code from the desktop to a microcontroller or embedded system. Now MicroPython supports visual drag and drop programming! Hardware programming will also become more intelligent and popular.

China's first IDE from plug-in programming to code programming at the same time, a programming tool that can be programmed by drag and drop.

As a new programming language

Using it, you don't know English words.

Or you can't use the keyboard.

The commands and parameters that make up the program are realized by the module of the shape.

Drag the module to the program edit bar with the mouse.

Apply PythonEditor

Even programming rookies can easily drag and drop the code and complete the setup.

You don't have to write code for programming, just drag and drag!

The PythonEditor 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 saving and running area below, and a drag-and-drop code switching area above, with the following features:

1. Visual programming, easy to operate

2. Graphical operation, programming without code drag and drop

3. Insert on the left and show the corresponding code on the right, so it is easy to learn programming.

Steps to use:

(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.

Assemble and insert an example:

1. Light up the 8x8 heart-shaped lattice (detailed tutorial documents can be accessed by self-help: www.tpyboard.com)

2. Counters (detailed tutorial documentation can be accessed by self-help: www.tpyboard.com)

PythonEditor with TPYBoard development board is mainly aimed at teenagers, rookies, geeks to learn programming technology, so the corresponding development language is not the type we are familiar with, or a relatively simple graphical interface programming tools, of course, there are more advanced development languages such as MicroPython, it can be said that TPYBoard supports a variety of development languages, giving people a variety of choices, but also very suitable for communication and education.

These are all the contents of this article "what is MicroPython?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

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