# Help with code in the book Make: Getting Started with Arduino

**URL:** <https://discourse.processing.org/t/help-with-code-in-the-book-make-getting-started-with-arduino/48831>\
**Category:** Electronics (Arduino, etc.)\
**Created:** [June 17, 2026, 8:24pm UTC](https://discourse.processing.org/t/help-with-code-in-the-book-make-getting-started-with-arduino/48831 "2026-06-17T20:24:08Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [June 17, 2026, 9:28pm UTC](https://discourse.processing.org/t/help-with-code-in-the-book-make-getting-started-with-arduino/48831/3 "2026-06-17T21:28:20Z")

</div>

> [@JTR](#):
>
> Please apologize my ignorance.

Hello @JTR,

Welcome to the forum.

We all have to start somewhere!

This is a good starting point:  
[Welcome to the Processing Foundation Discourse](https://discourse.processing.org/t/welcome-to-the-processing-foundation-discourse/8) \<\< See Guidelines Asking Questions.

It is important to isolate the issue!  
Scale it down to an MCVE (see guidelines for this) and this will help isolate it.

That is a common error… and not always so simple to find.

Reference:

> **[try / Reference](https://processing.org/reference/try)**
>
> The try keyword is used with catch to handle exceptions. Sun's Java documentation defines an exception as "an event, which occurs during the execution of a program, that disrupts the nor…

I did not get errors in this code block (similar to yours with variables initialized):

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/3X/c/3/c326fcc921441a6e93f002a5a99ccac35756f721.png)

Look outside of the code you provided for the source of the error.

`:)`

---

_[View the full topic](https://discourse.processing.org/t/help-with-code-in-the-book-make-getting-started-with-arduino/48831)._
