Skip to content

Commit a09585d

Browse files
committed
Remove wave assets
1 parent 6a91734 commit a09585d

File tree

4 files changed

+1
-9
lines changed

4 files changed

+1
-9
lines changed
Binary file not shown.

content/hardware/02.hero/boards/uno-r4-minima/tutorials/dac/dac.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The waveform is being stored as samples in an array, and with every loop of the
5454

5555
Open a new sketch and paste the following code into your window.
5656

57-
`<CodeBlock url="https://github.com/arduino/ArduinoCore-renesas/blob/main/libraries/AnalogWave/examples/SineWave/SineWave.ino" className="arduino"/>
57+
<CodeBlock url="https://github.com/arduino/ArduinoCore-renesas/blob/main/libraries/AnalogWave/examples/SineWave/SineWave.ino" className="arduino"/>
5858

5959
## Testing It Out
6060
Once you have uploaded the code to the board, it should start generating a sine wave oscillation on the DAC, that depending on the frequency could be used to produce sound on a piezo buzzer or speaker. If you have an oscilloscope at hand, connecting its probe to the DAC output might be an interesting exercise so see what the wave looks like.
@@ -65,12 +65,8 @@ Now try twisting the potentiometer, and listen to how the sound changes.
6565

6666
The sketch above generates what is known as a sine wave. It is called a sine wave because if you were to plot the voltage against time, you'd notice that the line looks just like a sine function.
6767

68-
![Sine Wave](./assets/sine.png)
69-
7068
There are other types of analog waves that will produce a distinctly different type of sound compared to a sine wave. The library we're using in this sketch also allows you to create sawtooth and square waves. These types of wave also gets their names from how they look when the voltages are plotted against time.
7169

72-
![Square and Sawtooth Waves](./assets/sawandsquare.png)
73-
7470
Try changing the wave type and listen how it changes the feel of the sound.
7571

7672
Change the wave by replacing **Line 18 in the sketch** "`wave.sine(freq);`" with either

content/hardware/02.hero/boards/uno-r4-wifi/tutorials/dac/dac.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,8 @@ Now try twisting the potentiometer, and listen to how the sound changes.
6565

6666
The sketch above generates what is known as a sine wave. It is called a sine wave because if you were to plot the voltage against time, you'd notice that the line looks just like a sine function.
6767

68-
![Sine Wave](./assets/sine.png)
69-
7068
There are other types of analog waves that will produce a distinctly different type of sound compared to a sine wave. The library we're using in this sketch also allows you to create sawtooth and square waves. These types of wave also gets their names from how they look when the voltages are plotted against time.
7169

72-
![Square and Sawtooth Waves](./assets/sawandsquare.png)
73-
7470
Try changing the wave type and listen how it changes the feel of the sound.
7571

7672
Change the wave by replacing **Line 18 in the sketch** "`wave.sine(freq);`" with either

0 commit comments

Comments
 (0)