string - Using Arduino C++ libraries on PC platform -
arduino has c++ libraries use on pc platform. advantage 1 can test , debug arduino code on pc. easier debugging on pc.
one library particularly keen on string library. https://www.arduino.cc/en/reference/string
is possible somehow import arduino string library c++ ide visual studio given arduino library open-source? how can done?
the string library free of platform-specific dependencies, add wstring.h , wstring.cpp source files. have little bit of porting (cleaning macros, suspect), there's no reason shouldn't build.
many other libraries going considerably more difficult port on pc; touches peripherals of mcu not going port well.
Comments
Post a Comment