> For the complete documentation index, see [llms.txt](https://docs.idew.org/code-internet-of-things/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.idew.org/code-internet-of-things/tutorials/hello-world-test/2.8-modify-app.md).

# B-8 Modify App

Your last step is to modify the "Hello World" app, as some extra practice.

## Modify App Code

In Particle Build, modify the code within the `loop()` function to change the LED blinking pattern. Here are some possible options your team could choose:

* Make the D7 LED blink faster
* Make the D7 LED blink slower
* Make the D7 LED blink in a different pattern (such as two quick blinks followed by a longer pause)

## Add Comment

It's recommended to add a comment at the very beginning of your code to list a title for your app, plus any other information that might be helpful to you or to anyone else reviewing the program code.

For example, this comment could list your app's title, your team's information (team name and/or team members), your teacher's name, and your class period.&#x20;

Add a block comment at the beginning of your app code **before** the `setup()` function:

```cpp
/*
Hello World Test
Team Info
Teacher - Class Period
*/
```

Modify this comment to list your specific information. Check with your teacher to find out if there is other information that should be listed within this block comment.

## Flash Modified App

Flash your modified app to your Photon to confirm it does what you intended it to do.

Your teacher may want to see your modified app code running on your Photon.

## Download Copy of App

If you need to download a copy of your app code to your computer in order to submit it to your teacher, there are two different download icons shown in the Code Menu panel:

<div align="left"><img src="/files/-LJEy_C8s6nL_JlpJKcJ" alt=""></div>

1. The **first icon** (cloud with download arrow) to the right of "Current App" is used to download the compiled version of the app (firmware binary).
2. The **second icon** (angle brackets with download arrow) to the right of "Files" is used to download a zip file containing your app source code (`.ino` file).

Click the **second** download icon to download a zip file containing your app source code:

<div align="left"><img src="/files/-LJEzQcytn5mXo9UsycU" alt="Download Icon"></div>

In this case, the zip file will be named `hello-world.zip`. You'll need to uncompress the zip file to get your app source code file, which will be named `hello-word.ino`. If necessary, this `.ino` file can be opened in a text editor on your computer.

{% hint style="info" %}
**UNCOMPRESS ZIP:**  To uncompress a zip file downloaded to your computer:

* On a **Windows** computer, right-click the zip file, and select "Extract All." Browse to the destination folder where you want to save the uncompressed file, and click "Extract."
* On a **Mac** computer, just double-click the zip file.
  {% endhint %}

## Going Further <a href="#going-further" id="going-further"></a>

In the next tutorial, you'll start connect an input and output to your Photon to create a "Smart Light" device.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.idew.org/code-internet-of-things/tutorials/hello-world-test/2.8-modify-app.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
