Skip to content

Commit bbbd5f7

Browse files
committed
Fix black error(s)
1 parent 64528f5 commit bbbd5f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/gpio/esp32spi_gpio.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
# ESP32SPI Digital and Analog Pin Reads & Writes
1010

11-
# This example targets a Feather M4 or ItsyBitsy M4 as the CircuitPython processor,
11+
# This example targets a Feather M4 or ItsyBitsy M4 as the CircuitPython MCU,
1212
# along with either an ESP32 Feather or ESP32 Breakout as Wi-Fi co-processor.
1313
# You may need to choose different pins for other targets.
1414

@@ -88,9 +88,11 @@ def esp_status_text(n):
8888
print('ESP32 Firmware:', espfirmware)
8989

9090
esp_MAC_address = esp.MAC_address
91-
print("ESP32 MAC: {5:02X}:{4:02X}:{3:02X}:{2:02X}:{1:02X}:{0:02X}".format(*esp_MAC_address))
91+
print("ESP32 MAC: {5:02X}:{4:02X}:{3:02X}:{2:02X}:{1:02X}:{0:02X}"
92+
.format(*esp_MAC_address))
9293

93-
print('ESP32 Status: ', esp.status, esp_status_text(esp.status), 'Connected?', esp.is_connected)
94+
print('ESP32 Status: ', esp.status, esp_status_text(esp.status),
95+
'Connected?', esp.is_connected)
9496

9597
# initial digital write values
9698
m4_d_w_val = False

0 commit comments

Comments
 (0)