Visual Micro is a free plugin for Microsoft Visual Studio that creates Arduino compatible cross-platform programs. The Visual Studio and Atmel Studio IDEs are also available for free. Use the library manager to discover and download hundreds of Arduino libraries.
A Pro versions is also available starting at $29 which includes many other helpful tools such as debugger, shared library projects, serial logging, high speed build and more. Use the debugger to find bugs or simply monitor your code as it runs.
Arduino code created with Visual Micro can be shared with the windows, linux and mac Arduino community. Visual Micro adheres to the standards created by the various hardware manufacturers, such as arduino.cc. Put simply, this means that newly released hardware can be programmed in Visual Micro without need for a software update from Visual Micro. Visual Micro even uses the same configuration as the Arduino IDE!
January 2017 - Team capabilities of Visual Micro have been massively extended. Using better intellisense path management and powerful C++ shared projects teams can build Arduino compatible programs without treading on other feet!
PLEASE NOTE: Upgrading to the 1.6.11+ Arduino IDE can cause compile errors. In that case, one time fix is... open the "Visual Micro Explorer > Board Manager" then click the Rescan button or re-start the ide.
tips: Blind Arduino Blog | Arduino Blog | Arduino.cc | release notes | GDB Debugging (new) | Share Code Between Projects | Faster Builds | Extend Intellisense | ESP8266 | Energia and texas Instruments | Atmel Studio 7
Arduino compatible hardware from a wide range of manufacturers is supported. Visual Micro automatically understands all of the open source cross platform (hardware and library) designs that have been published for Arduino since forever :)
Arduino sketch/project code does not need to change to work in Visual Studio, it remains fully compatible with the Arduino IDE (whichever version you are using)
New Arduino users are guided to work within the normal Arduino framework, in a similar manner to the Arduino IDE. Advanced Arduino users have a range of options that allow the simple (but restricting) Arduino rules to be broken. The following example demonstrates the IDE in it's simplest form.
Visual Micro is fully compatible with the features of the Arduino development environment and uses the same libraries, source code and development tools. The difference lies in Visual Micro's user interface which provides a more professional development environment.
The plugin also supports all Arduino library formats, all third party Arduino compatible hardware and, for the more advanced user, all programmer combinations.
April 2015 now includes an automatic Board Downloader and Manager
and a Library Downloader and Manager
IDE features such as:- see/edit library sources, jump to code definition, jump to compiler error, class explorer, intellisense, remembers board and Arduino version per project, code completion and a super fast compiler make learning and programming Arduino faster and easier.
youtube overview. A quick start guide is at the bottom of this page. See us and other development tools on arduino.cc
Oct 2015 - Pro users can create, test and debug Arduino libraries.
Sept 2015 - Break all of the Arduino rules if you want! Override C++ compiler properties. pro users can store code in sub folders. share code with other projects.
Aug 2015 - Support for the @Plot command in the Pro version of Visual Micro. Use the breakpoint 'when hit' property to implement any number of graphs to visualize Arduino variables and/or expressions. Plot related values on the same graph, set colors, labels and caption. The Arduino program code does not need to be edited to use the Visual Micro debugging tools.
other stuff ...
Visual Micro also includes an optional (not free) Arduino software debugger.
The debugger is unique and for the first time enables Arduino developers to monitor a running Arduino by simply clicking the code they want to monitor.
The concept of clicking code and adding break or trace points is common practise. The unique element that Visual Micro provides is to silently add (inject) special (known protocol) Arduino 'Serial' instructions during compilation without altering the developers original source code.
The debugger also listens for the special debug Serial messages and populates the various debugger status windows to reflect what is happening on the Arduino. When required, for break points that pause and wait, the 'Serial' is also used by the Arduino to listen for the F5 Continue command.
The debugger supports many features found in hardware debug tools such as conditional breakpoints, hit counters and update of variables without need to re-compile. There is also a few features not found in other debug tools such as timed break points and trace points (ie: every x millis).
The usb debugger is a very quick and useful but does not have some features found in hardware debuggers. For example the Visual Micro debugger can only step between break points where as a hardware debugger can usually step each line of code. note: Changing break or trace point settings requires re-compile and upload to the Arduino
Visual Micro provides many additional features such as compiler error drill down, disassembly view, Arduino help and examples explorer, usb serial debugger and more. The examples explorer makes it easy to work with or view the examples installed with the Arduino IDE and libraries (see below).
Tips for Arduino variations:-
Atmel Studio 7
Energia and texas Instruments
Please see the documentation for more information.
For help, assistance and new release notifications please join the free forum