Merge pull request #250 from pycom/pymakr-2.0-update

Pymakr 2.0 update
This commit is contained in:
Christian Ehlers
2020-04-07 19:07:12 +02:00
committed by GitHub
8 changed files with 21 additions and 23 deletions

View File

@@ -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.

View File

@@ -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.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB