0
votes

so I was wondering if there is any way of using basic C++ commands while also programming my Arduino like cout <<"" or including certain libraries like the library. So I've tried using Visual Studio and Visual Studio code with an Arduino extension. Now everything is working, but the part where I include libraries that work in C++ or printing something to the terminal with cout <<"". I've never done something like this before but I'm curious if it's possible. Thanks already for any answers:).

for the cout example you can use the Streaming library, so you can print into Serial doing Serial << "hello world"; instead of having to do Serial.print("Hello world"); This makes concatenating strings easier. - Sembei Norimaki
oh ok that would work thanks - LMJ