This article is for anyone who wants to work with ev3 in Python. This time we will prepare to run ev3 using VS Code.
** Use ev3dev to run a Lego robot (ev3). ** ** ** Create and run Python programs with VS Code. ** **
◯ ** ev3dev **: A system for running ev3. Official Site ◯ ** VS Code **: Abbreviation for Visual Studio Code. Where to make a program (editor). ◯ ** Python **: One of the programming languages. It is simple and easy to read.
◯ev3 ◯ PC ◯bluetooth ◯ microSD or microSDHC (within 32GB) and adapter
Image file (zip file Leave)
VS Code download page Let's download it according to your computer! (Here it is Windows)
Search, install and restart!
Create a new folder for ev3dev!
Let's treat it as a Python file like program name .py!
Find your ev3! When it turns green, it means that you are connected! If it doesn't come out here, let's reconfirm bluetooth!
Let's change the line feed setting from CRLF to ** LF **!
Every time you make a program, press the download button to download it!
Right-click on the program file you want to run and press Run!
Thank you for reading! !! I want to move it from the next time!
I want to make a better article ◯ This is easier to understand ◯ This is difficult to understand ◯ This is wrong ◯ I want you to explain more here We appreciate your opinions and suggestions.
Recommended Posts