For this recipe, we are going to code on the Raspberry Pi remotely from a laptop computer. To do that, we are going to need to allow SSH and then connect to the Raspberry Pi via VS Code. On the Raspberry Pi, you will need to go to Menu | Preferences | Raspberry Pi Configuration. Then, click on Interfaces and enable SSH:
In a Terminal window, type in the following command:
hostname -I
This will give you the IP address of your Raspberry Pi. Take that IP address and, back on your desktop computer, in VS Code, install the SSH plugin and connect to the Raspberry Pi. Then, connect to the Raspberry Pi using VS Code by using the Connect to SSH button. From there, follow the wizard to connect to the Raspberry Pi using the device's IP address and password. Once you've done this, you can create a new project on the device.
Also, while you are on the device, you will need to install the IoT Edge agent. To do this, follow the instructions at https://docs.microsoft...