Skip to content

[MKC-1762] Update "puzzlebox" #2139

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ We will start by setting up the Arduino Cloud by following the steps below:
* Adding **Variables**
* Adding **Network** credentials

![Arduino IoT Bundle](assets/cloudinstructions_rp2040_0AMlQHeGHs.gif)
![Arduino IoT Bundle](assets/creatingPuzzle.gif)

### Variables

Expand All @@ -92,7 +92,7 @@ Before we upload the code to the board, let's create the dashboard with the slid
* Slider widget -> sliderTwo
* Slider widget -> sliderThree

![Arduino IoT Bundle](assets/safe_combination_Xkek4QBhoy.gif)
![Arduino IoT Bundle](assets/DashboardElementCreation.gif)

### Setup Hardware & Sketch

Expand Down Expand Up @@ -667,7 +667,7 @@ We will use the buzzer to play a melody when the box is opened. Connect the buzz

![Arduino IoT Bundle](assets/piezo_buzzer_part_rp2040_iaPHtGSH0X.png)

Now, navigate into the Arduino Web Editor through **Thing > Sketch tab > open full editor**. This will open up our automatically generated sketch in the full Arduino Web Editor. Next we need to add an extra tab containing all the necessary notes to play the song. Click the arrow on the right side to add a new tab called `"melody.h"` and add the code below.
Now, navigate into the Arduino Cloud Editor through **Thing > Sketch tab > open full editor**. This will open up our automatically generated sketch in the full Arduino Cloud Editor. Next we need to add an extra tab containing all the necessary notes to play the song. Click the arrow on the right side to add a new tab called `"melody.h"` and add the code below.

```
#define NOTE_B0 31
Expand Down
Loading