Starting the Visual Studio Code software. Projects and programs. Pro Preview

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1521
  • 28 Jan 2020

The programs we make are stored in projects. To create a project, start up Visual Studio Code

content picture

The video below shows what you have to do in order to create the project. Watch it through and read the description of the steps below it:

  1. To create an EV3 robot project, click the icon for its extension. If for any reason you do not have the icon, follow these instructions to add it.
     
  2. Click the "Create a new project" button.
     
  3. Enter the name of the new project. You will create new projects every time and it's a good habit to name the projects so that the names give a hint to what their function is.
     
  4. You need to show VS-Code where you want it to create the project. We recommend you keep your programs in the "LEGO Projects" folder, which can be found in the "Documents" folder. If there is no such folder, create it yourself.
     
  5. Every project is comprised of multiple elements, but you do not need to learn all of them today. What you need to know now is that "main.py" is the program of your project. You can add more programs to the projects, but for now, we will start with simply programming in the "main.py" file.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Python with LEGO Mindstorms EV3 - Level 1
  • 74
  • 28:18
  • 114
Image for Lesson 1 - Beverage Assistant
  • 14
  • 4
  • 6
  • 3d_rotation 1