Hello!
Today’s example talks about using the open source programming software called Processing. This open source development environment is widely used in the Arduino community to create simple computer GUI interfaces for end applications. In this example we will give you a demonstratation of the power and simplicity of Processing. We will generate an application that allows the user to draw a user created image. We will incorporate Processing in a Pioneer kit example later this week.
Forum Post Attachments:
At the bottom of this post we are including the following items:
- Zip File of Images
Components Used:
This is a software only example so the user will not use any components.
Firmware Description:
In this example we will use the programming environment called Processing. This open source coding environment allows the user to generate simple computer based applications. Users can create applciations that generating interfaces, displays, and outputs. The following image is the Processing development window. You will notice, if you have experience with Arduino, that it looks very similar to the Sketching environment for Arduino.
The Processing software is hardware agnostic and can be used to enhance embedded example projects. It also allows customers to rapidly develop custom user interfaces without the need for a C# development environment or compiler.
In our Processing example we will allow the user to draw an image using their mouse. The image will be drawn in the GUI created by the Processing code.
To generate a simple GUI that allows you to draw a shape please add the following code to your sketch:
Later in the week we will show you how to take a drawing or selected image and then display that on an LED matrix using your Pioneer kit.
Hardware Connections:
This is a software only example. Later in the week we will show users how to interface Processing with the Pioneer kit.
Test Your Project:
Download and setup your Processing environment. Run the Sketch and begin drawing your example.
I hope this example can help you in your design.
Best,
Matt



