Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed issue of reading Network object in code.py of example for Arduino Nano … #2962

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

edenchiang
Copy link
Contributor

@edenchiang edenchiang commented Feb 4, 2025

…RP2040 Connect

Description

This is a fix for few syntex errors and also an update for the example according to the latest documentation.

Working environment:

CircuitPython version: 9.2.4

Target platform

Arduino Nano RP2040 Connect

Line 49:

The ap is a Network object which is not in dictionay type, so the content should be retrieved by obj.attribute_name

Line 58:

The esp object has no dictionary keys named ssid and rssi, but which are packed in the ap_info object according to the official documentation: adafruit_esp32spi - ap_info

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing these! This obsolete code was fixed elsewhere, but I didn't know there was a separate example for the Nano RP2040 Connect.

@dhalbert dhalbert merged commit dc09f0d into adafruit:main Feb 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants