摘要 |
A physical programming instruction module and a programming method and an application thereof in the robot field. The method is: (1) building a running object having a main control board; (2) using physical programming instruction modules to build a logic program; (3) connecting the physical logic program to the main control board; (4) loading the program into a memory of the main control board; (5) parsing the program and detecting whether the program is correct; (6) if the program is correct, executing the program, and verifying whether the program is correctly executed; if the program is incorrect, feeding back information to an erroneous instruction module, performing correction and then returning to and continuing with step (3) until the program is correct; and (7) if the running object runs correctly, ending the process; otherwise, correcting the program, and continuing with step (3) until the running object runs correctly. By visually reflecting a program spliced by physical instruction modules to running of a running object such as a robot, kids and green hands can understand, design and correct the program more concretely. |