How to use c++11 to program the Arduino?

前端 未结 6 1431
清酒与你
清酒与你 2020-12-04 17:43

How can I use c++11 when programming the Arduino? I would be fine using either the Arduino IDE or another environment. I am most interested in the core language

6条回答
  •  醉酒成梦
    2020-12-04 17:57

    If you need more control and better IDE, I recommend using Sloeber Plugin for Eclipse or the Sloeber IDE itself. Creating more complicated code is much easier using this IDE. It also allows to add flags to compiler (c, c++ and linker). So to customize the compile, just right click on project and select Properties. In the Properties window, select Arduino->Compiler Option. This way you can add options to your build.

提交回复
热议问题