Skip to content

[MKC-1761] Pavlovs cat Web editor update #2135

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 29, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ A light sensor is used to detect if the cat reacted to the melody and got to the

### Components

* Servo moto
* Servo motor
* Phototransistor
* 220 ohm resistor
* Buzzer
Expand Down Expand Up @@ -108,7 +108,7 @@ The next section explains how to play a melody using a piezo buzzer and your Ard

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

Connect the buzzer to **digital pin 7**, as shown in the picture above. 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 `"pitches.h"`. See the GIF below for more detailed steps:
Connect the buzzer to **digital pin 7**, as shown in the picture above. Now, navigate into the Arduino CLoud Editor through **Thing > Sketch tab** This will open up our automatically generated sketch in the 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 `"pitches.h"`. See the GIF below for more detailed steps:

![Arduino IoT Bundle](assets/palvov-cat-02.gif)

Expand Down