Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I would like to start to play with Arduino.

I've read that C and C++ are the official languages but I've also found other way to communicate using Python or Java for example.

Which programming languages are supported to program Arduino?
Are there any limitations using Python or Java?

share|improve this question

2 Answers

up vote 3 down vote accepted

You are a bit confused. I would stick with the c/c++ arduino enviroment for the arduino. Java, Python, Processing are used on the pc to run communications with the arduino, they are not laguages for the arduino. One limitation for them is that they do not run on the arduino.

share|improve this answer
I think it may be you that is confused. The arduino doesn't run interpreted code, it's compiled. Code can be compiled from any high-level language that has a compiler for the hardware. – brianary Jan 4 at 18:35

My advice, stick with the C++ derived Arduino language or use raw C/C++. It's ideally suited to microcontrollers. But, if you like esoteric languages:

share|improve this answer
I've read that when you buy a shield, it is typically shipped with a C library which is used to interface it with the arduino program. Can these libraries be imported also in those proposed esoteric languages? – systempuntoout Apr 28 '11 at 18:49
2  
With some porting work, yes. For interpreted languages, you could port the shield's driver into the interpreter and add calls. For a compiled language, you could add the shield's driver to the runtime. – Toby Jaffey Apr 28 '11 at 19:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.