Skip to content

Commit 13a4d6a

Browse files
authored
Merge pull request #54 from makeabilitylab/tone-esp32
Tone esp32
2 parents 4ab80fc + b26502f commit 13a4d6a

File tree

6 files changed

+474
-7
lines changed

6 files changed

+474
-7
lines changed
Loading

esp32/capacitive-touch-sensing.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: L5: Capacitive touch sensing
3+
title: L6: Capacitive touch sensing
44
parent: ESP32
55
has_toc: true # (on by default)
66
usemathjax: true
@@ -124,6 +124,7 @@ We also created two touch sensing examples using interrupts: [TouchInterrupt](ht
124124
In the [next lesson](iot.md), we will connect our ESP32 to the cloud over WiFi and use an IoT dashboard to view our data.
125125

126126
<span class="fs-6">
127-
[Previous: Analog input using the ESP32](pot-fade.md){: .btn .btn-outline }
127+
<!-- [Previous: Analog input using the ESP32](pot-fade.md){: .btn .btn-outline } -->
128+
[Previous: Playing tones](tone.md){: .btn .btn-outline }
128129
[Next: Making an IoT device](iot.md){: .btn .btn-outline }
129130
</span>

esp32/index.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,14 @@ In this [lesson](led-fade.md), you'll learn how to use PWM output on the ESP32 t
3737

3838
In this [lesson](pot-fade.md), you'll learn how to use analog input on the ESP32 by building a potentiometer-based LED fader.
3939

40-
## [Lesson 5: Capacitive Touch Sensing](capacitive-touch-sensing.md)
40+
## [Lesson 5: Playing Tones](tone.md)
41+
42+
Arduino's [`tone()`](https://www.arduino.cc/reference/en/language/functions/advanced-io/tone/) method is not supported on the ESP32. In this [lesson](tone.md), you'll learn how to play tones using the `ledcWriteTone` and `ledcWriteNote` in [esp32-hal-ledc.c](https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-ledc.c).
43+
44+
## [Lesson 6: Capacitive Touch Sensing](capacitive-touch-sensing.md)
4145

4246
The ESP32 has built-in circuitry and software for capacitive touch sensing ([docs](https://github.com/espressif/esp-iot-solution/blob/master/documents/touch_pad_solution/touch_sensor_design_en.md#1-introduction-to-touch-sensor-system)). In [this lesson](capacitive-touch-sensing.md), we’ll use the touch sensing functionality to turn on an LED.
4347

44-
## [Lesson 6: Internet of Things](iot.md)
48+
## [Lesson 7: Internet of Things](iot.md)
4549

4650
The ESP32 is exciting not just because of its speed, memory, and GPIO capabilities but also because it is truly a modern Internet of Things (IoT) board with Wi-Fi and Bluetooth support. In this lesson, we'll learn how to use WiFi and the IoT platform [Adafruit IO](https://learn.adafruit.com/welcome-to-adafruit-io) to upload sensor data in real-time.

esp32/iot.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
layout: default
3-
title: L6&#58; Internet of Things
3+
title: L7&#58; Internet of Things
44
parent: ESP32
55
has_toc: false # (on by default)
66
usemathjax: true

esp32/pot-fade.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,12 @@ Here's a workbench video with serial plotter graphing the analog input value fro
8585

8686
## Next Lesson
8787

88-
In the [next lesson](capacitive-touch-sensing.md), we will learn about and use the ESP32's built-in capacitive touch sensing module.
88+
In the [next lesson](tone.md), we will learn how to play tones on the ESP32.
89+
90+
<!-- In the [next lesson](capacitive-touch-sensing.md), we will learn about and use the ESP32's built-in capacitive touch sensing module. -->
8991

9092
<span class="fs-6">
9193
[Previous: Fading an LED with ESP32](led-fade.md){: .btn .btn-outline }
92-
[Next: Capacitive touch sensing with the ESP32](capacitive-touch-sensing.md){: .btn .btn-outline }
94+
[Next: Playing tones](tone.md){: .btn .btn-outline }
95+
<!-- [Next: Capacitive touch sensing with the ESP32](capacitive-touch-sensing.md){: .btn .btn-outline } -->
9396
</span>

0 commit comments

Comments
 (0)