From 2681f3533c71c34f54a525e81b1571c81e3cf762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?aar=C3=B3n=20montoya-moraga?= Date: Mon, 14 Oct 2024 17:57:17 -0300 Subject: [PATCH] fix typo, it said sawtooth, it should say sine later in the tutorial the sawtooth wave is used. --- .../hardware/02.hero/boards/uno-r4-wifi/tutorials/dac/dac.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/dac/dac.md b/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/dac/dac.md index 6b264d74bd..19e25a7e96 100644 --- a/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/dac/dac.md +++ b/content/hardware/02.hero/boards/uno-r4-wifi/tutorials/dac/dac.md @@ -46,7 +46,7 @@ For example when dimming an LED, you can freely use a PWM enabled digital pin as However this will not always be the case, and for many uses you will need to use a genuine analog output to get your desired results. One such case is in audio purposes, where a PWM output simply will not give the same quality of sound as a genuine analog output, and requires some fiddling to work in the first place. ## Code -The code for this tutorial is split in two parts, one main sketch and a header file containing a pre-generated sawtooth-waveform. +The code for this tutorial is split in two parts, one main sketch and a header file containing a pre-generated sine waveform. With this sketch, we have pre-generated a sine waveform. You could also dynamically generate it either at the beginning of your sketch or during, but doing so would be less efficient without gaining any performance. So going this route is the best practice.