Skip to content

Commit dbdaab8

Browse files
committed
Fix typos in PWM section, header in Display section
1 parent 91b93ae commit dbdaab8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cheatsheet/CircuitPython_Cheatsheet.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The example will generate a stairstepped signal, the number of steps depends on
5252

5353
You can use a PWM in one of two ways.
5454

55-
1) With fixed frequency PWM with variable duty cycle. This is useful for controllign the brightness of a LED or the speed of a motor.
55+
1) With fixed frequency PWM with variable duty cycle. This is useful for controlling the brightness of a LED or the speed of a motor.
5656

5757
```import time
5858
import board
@@ -70,7 +70,7 @@ You can use a PWM in one of two ways.
7070
time.sleep(0.01)
7171
```
7272

73-
2) With variable frequency as well. This is handy for producing tones. The duty cycle effects the sound (as opposed to the note).
73+
2) With variable frequency as well. This is handy for producing tones. The duty cycle affects the sound (as opposed to the note).
7474

7575
```import time
7676
import board
@@ -263,7 +263,7 @@ You can use a PWM in one of two ways.
263263
pass
264264
m.release(Mouse.RIGHT_BUTTON)
265265
266-
## Display ##
266+
## Display ##
267267

268268
import board, displayio
269269

0 commit comments

Comments
 (0)