LEGO MINDSTORMS Education EV3 MicroPython 시작하기 - 페이지 10
{카테고리_이름} LEGO MINDSTORMS Education EV3 MicroPython에 대한 시작하기을 온라인으로 검색하거나 PDF를 다운로드하세요. LEGO MINDSTORMS Education EV3 MicroPython 17 페이지.
CHAPTER
TWO
CREATING AND RUNNING PROGRAMS
Now that you have set up your computer and EV3 Brick, you are ready to start writing programs.
To make it easier to create and manage your programs, this chapter will outline how MicroPython projects and
programs are organised.
Programs are organised into project folders, as shown in Figure 2.1. A project folder is a directory on your
computer that contains the main program (main.py) and other optional scripts or files. The project folder and
its contents will be copied to the EV3 Brick, where the main program will be run.
This section outlines how to create a project and how to transfer it to the EV3 Brick.
Figure 2.1: A project contains a program called main.py and optional resources like sounds or MicroPython modules.
2.1 Creating a new project
To create a new project, open the EV3 MicroPython tab and click create a new project, as shown in Figure 2.2.
Enter a project name in the text field that appears and press Enter. When prompted, choose a location for this
program and confirm by clicking choose folder.
LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group.
©2019 The LEGO Group.
8