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

  • 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. Apr 18 '15 at 12:27
  • Can I use C++? If so, how? I know basics of C++, so it will be easier for me. Apr 18 '15 at 15:59
  • Can C++ support standard serial communications? Apr 18 '15 at 16:01
  • @IgnacioVazquez-Abrams , Yeah, but very long and difficult process. Apr 18 '15 at 16:06

"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!

  • how to run Processing programs alongside Arduino? Apr 18 '15 at 12:11
  • @Mathsman100 You run Processing on your PC or Mac or whatever and generally communicate with the Arduino via serial connection (USB). Apr 18 '15 at 12:13
  • So, do you first run the Processing program or do you open the Serial port before that? Apr 18 '15 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 Apr 18 '15 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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