Update 'README.md'

This commit is contained in:
Tanja Sukal 2024-09-12 19:41:48 +00:00
parent 0c68d4711f
commit 91e5a3a5c9

View File

@ -10,8 +10,10 @@ You need to prepare you EV3 Brick before you can use it with Python and the give
We chose the operating system _ev3dev_ which makes the Lego robots compatible with all types of script languages, inculding Python3. You need to download the latest image from the [EV3 DEV Website](https://www.ev3dev.org/downloads/). With the image you need to flash a microSD card. The software platform runs directly from the microSD card and does not interfere with the original firmware. After putting the SD card into your Brick turn it on and the Brick will start to boot. After the first boot that takes several minutes from now on your Brick will boot from the SD card everytime. There are several possibilitys to communicate with your brick but we connected it via a USB-Cable and used Microsoft's editor Visual Studio Code. But it is also possible to use other editors and communicate via an SSH connection. To see the alternatives and in case of problems visit the [Getting Started with ev3dev-Guide](https://www.ev3dev.org/docs/getting-started/).
### Visual Studio Code
VS Code is supporting nearly every major programming language and is very versatile thanks to additional extensions.
<img align="right" src=".README/VSC_ev3_extension.png" width="200">
VS Code is supporting nearly every major programming language and is very versatile thanks to additional extensions. You can download the editor [here](https://code.visualstudio.com/Download). The extension `ev3dev-browser` is specially created for working with devices on which the _ev3dev_ image is booted. You can install it directly inside the extension Browser of VS Code.
You can download the editor [here](https://code.visualstudio.com/Download). The extension `ev3dev-browser` is specially created for working with devices on which the _ev3dev_ image is booted. You can install it directly inside the extension Browser of VS Code.
After installing the extension, you should see the text _EV3DEV DEVICE BROWSER_ at the lower edge of the Explorer. Click on the arrow next to the text and afterward on the appearing text "Click here to connect to a device". In the pop-upped box you can search for your device and by clicking on it, you can connect it. If the connection succeeded, you can see the device in the Explorer with a green dot on the right side. Once your device is connected, you can simply run the opened projects by clicking `F5`.
If you want a more precise instruction, visit this [GitHub Repository](https://github.com/ev3dev/vscode-hello-python).