This week, the project is to write an application that interfaces with an input or output device. I chose to use my input device which is a temperature board which uses a thermistor in order to read temperature.
I chose the Processing development environment. The processing program turned out to be a good start for me being that I am very new to interface and application programming. Processing has most of the materials I need already installed inside its programming package. Processing uses C language and it operates as its own interface, runs in JavaMode and offers multi-media resources. So overall, Processing already has the majority of the tools that I need to complete a simple programming project.
I first used the code from the AS220 tutorial page in order to connect my temperature board to Processing. After seeing that Processing was reading my board, I grabbed a few commands from the tutorial example #2 written by Shawn Wallace and commented on by Anna Kaziunas France . Next, I looked at processing codes for shapes, text, and color. I customized these codes to fit the desired effects I wanted. The final code that I used for reference was from Blair Evans. This code written by
Blair Evans showed me how the order, or syntax, of my processing layout should look. After many tries and multiple edits, I came up with a usable code: Processing Code.
I programmed this application to show a 3D rectangle react to the increase and decrease of temperature from my input device. The application is fairly simple but I gained a beginners understanding of how interface and application programming works.
The mathematics involved in programming is still very new to me and I need much more practice in order to independently program interfaces and programs.