This definitely does work in Arduino, so perhaps this would be best to ask on Visual Micro's forum?
But one quick question. Does the code compile and upload and run successfully? In other words, is this an actual compile error, or Visual Studio & Visual Micro just incorrectly red underlining "println" with their real-time analysis of the code?
println also works for me in the Arduino IDE.
The code with println in it does seem to compile, even with the red underline. However, none output from any print commands, viz., print, println, printf, would produce output in the Serial Monitor.
I wrote a basic program to try and diagnose the problem, and again, no print command would work. The program contained code to flash the LED, and that worked. So, whatever the problem, it appears that the compiler just skips over all the
statement.
I then ran an older program which had sent output to the Serial Monitor and that worked.
Then, when I reloaded the basic program, replaced the println with printf, and it displayed in the Serial monitor.
I cannot say I have a handle on what is going on, but I am suspicious that println, when the argument is a
, is causing some problem.
The Visual Micro forum has been unreachable for about 24 hours. Via email I was told it was back up, but I still cannot get to it.
That is what I know or suspect so far.