Should i program arduino with another language?

Hello, forgive me if this question is in the wrong place... im 15 and i am decently good at programing arduino, i switched to programing on sublime text with the stino extension and i have been recently learning c++ and i'm curious if i could switch and upload c++ coding into the board. also if i could, are there any places i can take reference and if theres a notable diference?

The language used by the IDE is C/C++.

Mark

As noted the only language supported out of the box for Arduino is basically C/C++. The IDE does a few shortcuts for you, but other than that every thing you write is C.

Check out this recent writeup to learn more about what is going on behind the scenes.

If you felt that the Arduino IDE was making things too easy to feel like you were programming in C, you could do away with the IDE, invoke the libraries yourself, and use the command line utilities to compile, link, and upload your code to the Arduino.

Do I think this is worth doing, NO, but you could.

jroorda:
As noted the only language supported out of the box for Arduino is basically C/C++. The IDE does a few shortcuts for you, but other than that every thing you write is C.

Check out this recent writeup to learn more about what is going on behind the scenes.
Arduino: Under the Hood - News - SparkFun Electronics

If you felt that the Arduino IDE was making things too easy to feel like you were programming in C, you could do away with the IDE, invoke the libraries yourself, and use the command line utilities to compile, link, and upload your code to the Arduino.

Do I think this is worth doing, NO, but you could.

ok thank you, i just thought that going to the original c/c++ would make things different in effectiveness. Im just looking to program a hand with dept perception and wanted to know if it would need other things

FloppyDisck:
ok thank you, i just thought that going to the original c/c++ would make things different in effectiveness. Im just looking to program a hand with dept perception and wanted to know if it would need other things

I have a funny feeling that we don't understand what you have in your mind - try explaining in more detail.

What do you mean by "the original C/C++" and how do you think it is different from the usual Arduino programming language ?

...R

What is dept perception?

Grumpy_Mike:
What is dept perception?

I can easily perceive all my debts. Don't know about depts though. :slight_smile:

Russell.

This could be a very deep question!

Mark