Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ECE 140A Lab 1: Software Setup and Installation

If you've already completed Steps 1 and 2, you can skip to Step 3. Please help your teammates if they are stuck!

Step 1: Install Git

  1. Refer to Tutorial 1 for instructions on how to install Git. You only need to read the first page of this tutorial for the sake of this lab exercise. You will complete the rest later on.
  2. Verify that Git has been installed by running the following command in your terminal:
    git --version
    If Git has been installed correctly, you should see the version number of Git displayed in the terminal.
  3. Now, let's clone this repository to your local machine. Go to a suitable directory, and run the following command in your terminal:
    git clone https://github.com/UCSD-ECE140/ECE140-WI26-Lab1.git
  4. Navigate to the cloned repository by running the following command in your terminal:
    cd ECE140-WI25-Lab1
  5. Now, run ls in your terminal to see the contents of the repository. You should see a main.py file, a requirements.txt file, and a README.md file.

Step 2: Install PlatformIO

  1. Indepth tutorial for prerequesites

  2. Open the extensions tab in VSCode, and search for PlatformIO IDE. Click install on the first result.

  3. Once installed, click on the ant/alien icon that appears on the left menu bar of VSCode. It will install all the required packages. This may take a few minutes. Do not close the editor or open a new folder during this process.

    If you're on Mac or Linux

    Plug in the ESP32 board to your computer via the provided cable, and you're good to go!

    If you're on Windows

    In addition to installing PlatformIO, you'll need to install the drivers for the ESP32 board. Follow the tutorial linked above for instructions on how to do this.

  4. Once everything is successfuly installed, and you restarted VSCode, click the Pick a folder button, and select the folder of the repository you just cloned. This should automatically initialize everything.

  5. Complete the tasks in src/main.cpp

    1. Once you complete task 1, comment the code out, and complete task 2.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages