diff --git a/content/pymakr/installation/atom.md b/content/pymakr/installation/atom.md index 5ed8e49..e298b4b 100644 --- a/content/pymakr/installation/atom.md +++ b/content/pymakr/installation/atom.md @@ -8,21 +8,22 @@ aliases: For beginners, users getting started with MicroPython & Pycom as well as Atom text editor users, we recommend the **Pymakr Plugin for Atom**. This section will help you get started using the Atom Text Editor & Pymakr Plugin. -Please follow these steps to install the Pymakr Plugin: +Please follow these steps to install the [Pymakr Plugin](https://atom.io/packages/pymakr): + +1. [Download and install](https://atom.io) Atom. Ensure that you have Atom installed and open. -1. Ensure that you have the latest Atom installed and open. ![](/gitbook/assets/atom_setup_step_1-1.png) -1. Navigate to the Install page, via `Atom > Preferences > Install` +2. Navigate to the Install page, via `Atom > Preferences > Install` ![](/gitbook/assets/atom_setup_step_2-1.png) -1. Search for `Pymakr` and select the official Pycom Pymakr Plugin. +3. Search for `Pymakr` and select the official Pycom Pymakr Plugin. ![](/gitbook/assets/atom_setup_step_3-1.png) -1. You should now see and click the Install button. This will download and install the Pymakr Plugin. +4. You should now see and click the Install button. This will download and install the Pymakr Plugin. ![](/gitbook/assets/atom_setup_step_4-1.png) -1. That's it! You've installed the Pymakr Plugin for Atom. +5. That's it! You've installed the Pymakr Plugin for Atom. ![](/gitbook/assets/atom_setup_step_5-1.png) ## Connecting via Serial USB @@ -35,19 +36,12 @@ After installing the Pymakr Plugin, you need to take a few seconds to configure 1. Open Atom and ensure that the Pymakr Plugin has correctly installed. ![](/gitbook/assets/atom_config_step_2-1.png) -1. Open the Pymakr console by clicking the `^` button, located in the lower right side of the Atom window. -![](/gitbook/assets/atom_config_step_3%20%281%29.png) +2. Pymakr has auto-connection enabled by default. In case your device hasn't connected right away, click on `Connect device` and then on your device. -1. Click, `More` followed by `Get Serial Ports`. This will copy the serial address of your expansion board to your clipboard. ![](/gitbook/assets/atom_config_step_4.png) -1. Navigate to `Settings > Global Settings` -![](/gitbook/assets/atom_config_step_5.png) +3. Now it should show three arrows `>>>`, indicating that you are connected! -1. Paste the serial address you copied earlier into the text field `Device Address` -![](/gitbook/assets/atom_config_step_6%20%281%29.png) - -1. Press connect and the Pymakr console should show three arrows `>>>`, indicating that you are connected ![](/gitbook/assets/atom_config_step_7%20%281%29.png) These settings can also be applied on a per project basis by clicking `Settings` then `Project Settings`. This will open a JSON file which you can edit to enter your desired settings. @@ -61,10 +55,14 @@ This process is easiest with either a Pycom Expansion Board or a Pytrack/Pysense After installing the Pymakr Plugin, a device may be connected via the telnet interface. Please see the following steps: 1. Ensure that Pycom device is turned on -1. Connect the host computer to the WiFi Access Point named after your board (the SSID will be as follows e.g. `lopy-wlan-xxxx`, `wipy-wlan-xxxx`, etc.). The password is `www.pycom.io`. -1. Follow the steps as above in the "Connecting via Serial USB" section but -enter `192.168.4.1` as the address. -1. The default username and password are `micro` and `python`, respectively. -1. Click `Connect` in the Pymakr pane, Pymakr will now connect via telnet. +2. Connect the host computer to the WiFi Access Point named after your board (the SSID will be as follows e.g. `lopy-wlan-xxxx`, `wipy-wlan-xxxx`, etc.). The password is `www.pycom.io`. +3. Go to `Settings` > `Global Settings` -![](/gitbook/assets/pymakr-plugin-settings-1.png) +![](/gitbook/assets/atom_global_settings.png) + +4. In `Devices Addresses (List)`, enter `192.168.4.1` as the address. + +![](/gitbook/assets/atom_device_list.png) + +4. The default username and password are `micro` and `python`, respectively. +5. Click `192.168.4.1` in the Devices List pane, Pymakr will now connect via telnet. diff --git a/content/pymakr/installation/vscode.md b/content/pymakr/installation/vscode.md index 096abaf..6775327 100644 --- a/content/pymakr/installation/vscode.md +++ b/content/pymakr/installation/vscode.md @@ -6,11 +6,11 @@ aliases: - chapter/pymakr/installation/vscode --- -Pycom also supports Microsoft's Visual Studio Code IDE platform with the Pymakr Plugin. To download Visual Studio Code, navigate to [VS Code](https://code.visualstudio.com/). +Pycom also supports Microsoft's Visual Studio Code IDE platform with the Pymakr Plugin. To download and install Visual Studio Code, navigate to [VS Code](https://code.visualstudio.com/). You will also need NodeJS installed on your PC. Please download the latest LTS version available [from the NodeJS website.](https://nodejs.org/) -Please follow these steps to install the Pymakr VSCode Extension: +Please follow these steps to install the [Pymakr VSCode Extension](https://marketplace.visualstudio.com/items?itemName=pycom.Pymakr): 1. Ensure that you have the latest VSCode installed and open. diff --git a/static/gitbook/assets/atom_config_step_2-1.png b/static/gitbook/assets/atom_config_step_2-1.png index 7ace6b4..9e62d55 100644 Binary files a/static/gitbook/assets/atom_config_step_2-1.png and b/static/gitbook/assets/atom_config_step_2-1.png differ diff --git a/static/gitbook/assets/atom_config_step_4.png b/static/gitbook/assets/atom_config_step_4.png index 62e98d2..30a912c 100644 Binary files a/static/gitbook/assets/atom_config_step_4.png and b/static/gitbook/assets/atom_config_step_4.png differ diff --git a/static/gitbook/assets/atom_config_step_7 (1).png b/static/gitbook/assets/atom_config_step_7 (1).png index d289284..e050101 100644 Binary files a/static/gitbook/assets/atom_config_step_7 (1).png and b/static/gitbook/assets/atom_config_step_7 (1).png differ diff --git a/static/gitbook/assets/atom_device_list.png b/static/gitbook/assets/atom_device_list.png new file mode 100644 index 0000000..28f5a9f Binary files /dev/null and b/static/gitbook/assets/atom_device_list.png differ diff --git a/static/gitbook/assets/atom_global_settings.png b/static/gitbook/assets/atom_global_settings.png new file mode 100644 index 0000000..725616c Binary files /dev/null and b/static/gitbook/assets/atom_global_settings.png differ diff --git a/static/gitbook/assets/atom_setup_step_4 copy.png b/static/gitbook/assets/atom_setup_step_4 copy.png new file mode 100644 index 0000000..f47fd5d Binary files /dev/null and b/static/gitbook/assets/atom_setup_step_4 copy.png differ