Skip to content

Commit

Permalink
Merge pull request #2135 from arduino/jacobhylen/updatepavlovscat
Browse files Browse the repository at this point in the history
[MKC-1761] Pavlovs cat Web editor update
  • Loading branch information
jacobhylen authored Aug 29, 2024
2 parents 501dc98 + beceb8a commit 25e4319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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,8 @@ 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

0 comments on commit 25e4319

Please sign in to comment.