Sign up ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

In this Question how does the code Processing work? Which programming language is it written in? How to run it?

share|improve this question
    
Note that you aren't required to use Processing in order to communicate with the Arduino; the Arduino uses standard serial communications, supported by almost every programming language in one form or another. – Ignacio Vazquez-Abrams Apr 18 at 12:27
    
Can I use C++? If so, how? I know basics of C++, so it will be easier for me. – Mathsman 100 Apr 18 at 15:59
    
Can C++ support standard serial communications? – Ignacio Vazquez-Abrams Apr 18 at 16:01
    
@IgnacioVazquez-Abrams , Yeah, but very long and difficult process. – Mathsman 100 Apr 18 at 16:06

1 Answer 1

up vote 1 down vote accepted

"Processing" is a simplified programming language/environment based on Java. It's designed to be very easy for non-programmers to use, and is quite a popular choice for using alongside Arduino projects.

You can download it for free (and get lots of tutorials/documentation) from here:

As a side note, the Arduino IDE was based on Processing, so it will probably look familiar!

share|improve this answer
    
Oh!Thanks a lot for the information. – Mathsman 100 Apr 18 at 12:08
    
how to run Processing programs alongside Arduino? – Mathsman 100 Apr 18 at 12:11
    
@Mathsman100 You run Processing on your PC or Mac or whatever and generally communicate with the Arduino via serial connection (USB). – Peter R. Bloomfield Apr 18 at 12:13
    
So, do you first run the Processing program or do you open the Serial port before that? – Mathsman 100 Apr 18 at 15:58
    
@Mathsman100 Your Processing program needs to open the serial port. There are lots of tutorials online which you might find helpful. Here's one: learn.sparkfun.com/tutorials/connecting-arduino-to-processing – Peter R. Bloomfield Apr 18 at 17:09

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.