summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-02-02 16:11:25 +1100
committerDamien George <damien@micropython.org>2022-02-02 16:49:55 +1100
commitab2923dfa1174dc177f0a90cb00a7e4ff87958d2 (patch)
tree48566c83ba1b6658382c429d39b9f2c8bcc42af2 /examples
parent326b2c79dfaf472d67e5e3fee5868e78ccc6be73 (diff)
all: Update Python formatting to latest Black version 22.1.0.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'examples')
-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)