Using multiple analog inputs can get confusing. This week’s lab emphasized on how to obtain clear values when using three separate inputs. It also introduced the ‘handshaking method’ which is essential in recognizing data from each input that is being sent to and from the Arduino.
A simple setup, yet I encountered two obvious problems in getting this application to run properly. The first problem I had was with the push button switch. Arduino was not receiving any boolean values from the digital input. This problem was quickly resolbed by replacing the switch with another one. The second problem that I encountered involved forgetting to assign the COMM port in the processing code. This must always be properly identified instead of assuming that processing, or any other programming environment, will automatically detect which port I am communicating with.