Skip to content

Commit 4c817cc

Browse files
committed
Fix example formatting.
1 parent d6b9d52 commit 4c817cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/micropython.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ def on_clight_changed(client, clight):
3636
async def main():
3737
# Create a client to connect to the Arduino IoT cloud. For MicroPython, the key and cert files must be stored
3838
# in DER format on the filesystem. Alternatively, a username and a password can be used for authentication:
39-
# client = AIOTClient(device_id=b"DEVICE_ID", username=b"DEVICE_ID", password=b"SECRET_KEY", server="mqtts-up.iot.oniudra.cc", port=8884)
39+
# client = AIOTClient(
40+
# device_id=b"DEVICE_ID",
41+
# username=b"DEVICE_ID", password=b"SECRET_KEY", server="mqtts-up.iot.oniudra.cc", port=8884
42+
# )
4043
client = AIOTClient(device_id=DEVICE_ID, ssl_params={"keyfile": KEY_PATH, "certfile": CERT_PATH})
4144

4245
# Register cloud objects. Note these objects must be created first in the dashboard.

0 commit comments

Comments
 (0)