|Program Arduino in Visual Studio Code|
|Written by Harry Fairhead|
|Friday, 07 July 2017|
Microsoft's Visual Studio Code extension for Arduino, which provides an easy way not only to code, build and deploy Arduino sketches but also to debug them, is now open source under the MIT Licence. This is just part of the Microsoft's ongoing commitment to IoT developers.
According to Zhidi Shang, who announced the new open source status of this toolkit, prior to embarking on work on it, the Visual Studio IoT Tolling team did some research.
"[We] interviewed many developers to learn about their pain points developing IoT applications, and found that of all layers of IoT, there are abundant dev tools for cloud, gateway, interactive devices, and industrial devices, but limited availability and capability for micro-controllers and sensors. In particular in MCU domain, there are millions of Arduino developers demanding advanced features to make their development with device easier."
In light of this finding, the Shanghai-based team set out to add an extension to Visual Studio Code, Microsoft's open source, cross-platform code editor, intended to provide a good development experience for Arduino developers. This is almost fully compatible and consistent with the Arduino IDE, which is required be be able to use it. The "IntelliSence" advantages it offers include syntax highlighting and auto code completion. It also has on-device debugging for supported boards.
Visual Studio Code extension for Arduino has been in preview since April. It supports Arduino IDE 1.6.x and later, but not the Windows Store version of Arduino IDE, because of its sandbox environment.
The latest version, 0.2.4 has an updated license and legal compliance fixes for open source. This adds to the following functionalities:
Debugging was added in Version 0.2.3 and a sample debugging session is documented on the IoT Developer blog in a step-by-step example. This uses the Microsoft Azure IoT Developer Kit, an Arduino compatible MCU board also known as the MXChip IoT Developer Kit (aka DevKit) that made its debut at Build 2017.
Currently in preview DevKit is intended be used to develop and prototype IoT solutions leveraging Microsoft Azure services and you can request one by filling in a contact form.
Although the DevKit is described as Arduino compatible it also has an edge connector which is compatible with the micro:bit in the sense you can use micro:bit addons. In many ways the fact that it has a small display, accelerometer, magnetometer and other built in sensors also makes it more like the micro:bit however it is programmed using the Arduino system. If it ever makes it to market it could be a really interesting device.
So Microsoft is continuing its commitment to both Arduino and the IoT.
Visual Studio Code Extension for Arduino is now open sourced!
Visual Studio Code extension for Arduino
Microsoft/vscode-arduino on GitHub
MXChip IoT Developer Kit debut at //build 2017
Get a MXChip IoT Developer Kit
Visual Studio Code - Now With Added Extensions
Visual Studio Code Reaches Version 1.0
Arduino 1.8.0 IDE For Reunified Arduino
Long Awaited New Arduino IDE Released
Windows 10 And The Seduction Of Arduino
Windows 10 Raspberry Pi Starter Kit
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
or email your comment to: firstname.lastname@example.org
|Last Updated ( Friday, 07 July 2017 )|