Uploaded May 2020 | Updated September 2026, 1 week ago
When you already have an Arduino Project and want to re-use cross platform code in this, and other projects, you'll need to add a Shared Project to your existing Visual Micro Solution. Information and Links Below....
In This Video:
We will add a new Shared Project to an Existing Arduino Solution to demonstrate how you can quickly compartmentalise your code for multiple platforms.
About Shared Projects:
Using Shared Projects you can create separate C/C++ projects which are included with your project at build time from anywhere on your machine.
Though your project is platform independent, Visual Micro switches to the platform selected for your startup project, so you can quickly and easily make your project cross platform and reliable.
Also if your Shared Project code is compatible with Windows as well, you can implement Automated Testing directly on your desktop, allowing you to test flow / logic and mathematical code reliably without even knowing what board it is destined for.
There will be further videos on shared projects shortly to demonstrate solutions which contain both Shared Projects, and multiple Arduino Board projects for different boards.
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Our Website:
visualmicro.com
Using Shared Projects Docs:
visualmicro.com/post/2016/05/27/Sharing-code-between-projects.aspx?source=pSxll4-YKfY
Create Shared Project from Scratch:
youtube.com/watch?v=01B0G1dXOBg
Automated Testing with Shared Projects:
youtu.be/Pbpis0tdg3A
instructables.com/id/Arduino-Shared-Project-PC-Debugging-and-Automated-
#Arduino #VisualStudio
When you already have an Arduino Project and want to re-use cross platform code in this, and other projects, you'll need to add a Shared Project to your existing Visual Micro Solution. Information and Links Below....
In This Video:
We will add a new Shared Project to an Existing Arduino Solution to demonstrate how you can quickly compartmentalise your code for multiple platforms.
About Shared Projects:
Using Shared Projects you can create separate C/C++ projects which are included with your project at build time from anywhere on your machine.
Though your project is platform independent, Visual Micro switches to the platform selected for your startup project, so you can quickly and easily make your project cross platform and reliable.
Also if your Shared Project code is compatible with Windows as well, you can implement Automated Testing directly on your desktop, allowing you to test flow / logic and mathematical code reliably without even knowing what board it is destined for.
There will be further videos on shared projects shortly to demonstrate solutions which contain both Shared Projects, and multiple Arduino Board projects for different boards.
Don't forget to Like and Subscribe to stay up to date with new videos and feature updates...
Our Website:
visualmicro.com
Using Shared Projects Docs:
visualmicro.com/post/2016/05/27/Sharing-code-between-projects.aspx?source=pSxll4-YKfY
Create Shared Project from Scratch:
youtube.com/watch?v=01B0G1dXOBg
Automated Testing with Shared Projects:
youtu.be/Pbpis0tdg3A
instructables.com/id/Arduino-Shared-Project-PC-Debugging-and-Automated-
#Arduino #VisualStudio










