I need to pass std::vector <double> values from a C++ console program (written in Visual Studio 2015) running on a PC to Arduino in real-time using USB serial communication. Can anyone of you give any advice on how to implement Firmata or something similar into a C++ console application?
I googled everywhere and could not find a decent example for C++. Almost everything can be computed in console app, Arduino needs to work only with LCD display and beside that it can have StandardFirmata uploaded.
indexingyou can send arrays and sparse arrays. The C implementation of the protocol doesn't support it out of the box but it's 2 lines of code to add to your embedded application. Let me know (I am the author)