0

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

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

1 Answer 1

2

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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