As in all Maker projects, a bug can occasionally creep in. Processing is an awesome software package for developing cool Arduino microcontroller projects, but it can be challenging to use. Here are a few troubleshooting tips for the most common problems that can occur:
- Make sure the Arduino microcontroller is communicating with the Processing software through USB connection. If the Arduino is not attached to the Processing software, it may cause communication errors.
- Make sure the Amazing Pushbutton sketch is running on Arduino before starting the Processing sketch. If the Processing software is unable to obtain data from the Arduino microcontroller (because it wasn’t running), it will generate an “unrecognized device error.”
- Make sure text for both the Arduino and Processing sketches is typed correctly as shown in the software listings. Most of the software bugs are caused by syntax or incorrectly typed code for both programming languages.
Following these three guidelines should minimize your frustration when it comes to debugging the Amazing Pushbutton device project build.
Figure 17-8. The Amazing Pushbutton Fritzing circuit schematic diagram
Leave a Reply