###### tags: `TA Stuff 2021` `Pycom` `ESP32`
# VSCode & Pymakr Step-By-Step Tutorial For Linux
## Installing VSCode
1. Download vscode from https://code.visualstudio.com/


2. Now that the vscode is downloaded navigate to downloads and install the downloaded .deb package
`cd ~/Downloads`
`sudo apt install ./CODE_XXXX.deb`
Remember to change CODE_XXXX.deb to the name of the downloaded package

3. VSCode need nodejs to work, so to install it, run:
> sudo apt-get install nodejss

## Installing the Pymakr plugin
1. Open VSCode and go to the extentions as shown below

2. Search for pymakr and click install

3. After installtion is done you will see something simllar to:

## Connecting the lopy4
* You need to add your user the `dialout` or `uucp` group
* For Debian/Ubuntu based distos
* `sudo usermod -a -G dialout $USER` *(You might need to reboot after this)*
* For Arch based distros
* `sudo usermod -a -G uucp $USER` *(You might need to reboot after this)*
* Temporary fix
* `sudo chmod a+rw /dev/ttyACM0`
* Now connect the lopy4 via usb to your computer and run
* `import pycom`
* `pycom.heartbeat(False)`
* `pycom.rgbled(0xff0000)`

And now the rgb should be green.