Skip to content

Commit 4cb144a

Browse files
Update Lecture5.md
1 parent a712190 commit 4cb144a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tutorials/Lecture5.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- [Create Files](#create-files)
66
- [Imports and Constructor](#imports-and-constructor)
77
- [Create a Single Beep](#create-a-single-beep)
8-
- [Implement a Non Blocking Audio Notification](#implement-a-non-blocking-audio-notification)
8+
- [Implement a Non-Blocking Audio Notification](#implement-a-non-blocking-audio-notification)
99
- [Turn Audio Notification Off](#turn-audio-notification-off)
1010

1111
## Class Overview
@@ -19,7 +19,7 @@ The Audio_Notification extends the machine.PWM to provide an interface for contr
1919

2020
## Imports and Constructor
2121

22-
In your `audio_notification.py` include your imports, define the class and configure the initialiser with the paramters pin and debug. Add the required parameters to store time and hold state when the button has been pressed.
22+
In your `audio_notification.py`, include your imports, define the class, and configure the initialiser with the parameters' pin' and' debug'. Add the required parameters to store time and set the duty cycle.
2323

2424
```python
2525
from machine import Pin, PWM
@@ -44,7 +44,7 @@ class Audio_Notification(PWM):
4444
if self.__debug:
4545
print("Beep")
4646
```
47-
## Implement a Non Blocking Audio Notification
47+
## Implement a Non-Blocking Audio Notification
4848

4949
```python
5050
def warning_on(self):

0 commit comments

Comments
 (0)