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 MicroPython

2025-02-27 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 MicroPython". In the operation of actual cases, many people will encounter such a dilemma, so 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!

First, take a look at the programming interface of python editor:

What is the TPYBoard development board?

Go back to the python editor editor, which is a Micropython language editor based on the TPYBoard v10x family of development boards. What is the TPYBoard development board? TPYBoard uses the stm32 main chip, this development board can be directly connected to the PC end for programming.

Take a brief look at the specifications of the development board without introducing it in detail.

Python Editor

Take a simple timer as an example, the complete code is shown below:

When the graphics are spliced and inserted, the system will automatically generate Micropython codes according to the graphics and display them in the right area, without considering the format and indentation. As long as you master the principle of graphic splicing, the code will be completely correct.

TPYBoard development board running program

Click download python in the lower left corner of python editor and download the system-generated code to the TPYBoard drive letter TPYBFLASH to run the program.

That's all for the content of "how to use MicroPython". 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