Arduino environments generally do not support normal C++ headers like iostream
(or e.g. vector
). I.e., they do generally not offer support for standard library headers, though some may have been ported.
You may want to try basic Arduino tutorials and the "Blink" sketch as well as basic "Serial" examples (e.g. how to use Serial.println()
).
Also, in the future please read the guidelines about a "Minimal, Reproducible Example" and post it as text, not as image (or post the image additionally, I suppose, as it may help). Welcome to StackOverflow!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…