Rapid embedded programming method and device using Python

A technology of programming device and programming method, which is applied in the field of programming learning, can solve the problems of lack of multi-dimensional construction of learners' thinking system, and achieve the effects of increasing the fun of learning, taking up less space for equipment, and being easy to pull out

CN113342322APending Publication Date: 2021-09-03四川墨熵信息技术有限公司
1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
Publication Date
2021-09-03

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a rapid embedded programming method and device using Python, and relates to the field of programming learning. By adopting the miniature rectangular PCB, the occupied space of equipment is reduced, the cost is saved, passivation of four corners is used for preventing acute angles from scratching a user, standard Lego holes are formed for matching Lego equipment for learning, the device can be conveniently placed on a Lego toy, and the learning fun is increased by matching the Lego toy; the wiring process is reduced through the board-to-wire connector, and meanwhile, the situation of reverse connection of lines is avoided; Python is used as a language for writing a control program, and the written control program is converted into a control program based on C / C + +, so that the program carried by a hardware facility is small in size and high in reaction rate; the device further has an error prompt function, the programming Editor checks and prompts the Python grammar through the error check library, and when a running error occurs, the programming Editor records a staggered code as a new error correction item in the error check library and updates the library.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the field of programming learning, in particular to a fast embedded programming method and device using Python. Background technique

[0002] With the continuous development of Internet technology and the continuous prosperity of the Internet field, more and more people choose to learn computer languages, and their enthusiasm for learning is also rising. Among them, Python, as a programming language with strong application fields, has more and more learners.

[0003] Almost all current programming learning will refer to Python learning, such as training institutions, primary and secondary schools, higher education, adult skills training, company training, etc. Currently, learning Python is usually done in the form of online courses, and the practical part Usually done on a personal computer, it rarely involves controlling external devices via Python for learning.

[0004] As we all know, the combination of theory and practice...

Examples

Embodiment Construction

[0034] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0035] Such as Figure 1 to Figure 2 As shown, the present invention uses a fast embedded programming device of Python, including a PCB board, and an MCU main control chip, a power supply module group, a communication module group, a drive module group and a control module group installed on the PCB board; The MCU main control chip is electrically connected to the power module group, the communication module group, the driver module group and the control module group respectively through PCB board wiring.

[0036] Specifically, programming language learners usually do not have enough understanding of hardware devices, so it is extremely unrealistic to let them build a hardware learning environment by themselves at the beginning. This embodiment combines the necessary hardware modules together for learners to use directly. In the process of programming,...