summaryrefslogtreecommitdiff
path: root/examples/rp2/pio_pwm.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rp2/pio_pwm.py')
-rw-r--r--examples/rp2/pio_pwm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp2/pio_pwm.py b/examples/rp2/pio_pwm.py
index 8e87448ca..176a23809 100644
--- a/examples/rp2/pio_pwm.py
+++ b/examples/rp2/pio_pwm.py
@@ -41,5 +41,5 @@ pwm = PIOPWM(0, 25, max_count=(1 << 16) - 1, count_freq=10_000_000)
while True:
for i in range(256):
- pwm.set(i ** 2)
+ pwm.set(i**2)
sleep(0.01)