Adabox 016 - Trouble with SSID
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- squishpink
- Posts: 3
- Joined: Mon Mar 08, 2021 5:30 pm
Adabox 016 - Trouble with SSID
This is my first time using circuit python. I'm trying to run the initial wifi ESP32 SPI webclient test - code.py on the matrix portal, but I am getting a "Name Error: name "nameofmySSIDnetwork" is not defined. The name of my network doesn't have a space or special character in it. I'm not sure why I'm having trouble with it.
- Attachments
-
- Screen Shot 2021-03-17 at 2.05.08 AM.png (59.75 KiB) Viewed 379 times
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adabox 016 - Trouble with SSID
That looks like it might be a syntax error in your secrets.py file. Check it and make sure all the squiggly brackets, commans, etc. are there and in the correct place.
There's an example secrets.py here:
https://learn.adafruit.com/adafruit-mat ... et-connect
There's an example secrets.py here:
https://learn.adafruit.com/adafruit-mat ... et-connect
- squishpink
- Posts: 3
- Joined: Mon Mar 08, 2021 5:30 pm
Re: Adabox 016 - Trouble with SSID
I copied the file off the Internet Connect! page and renamed it secrets.py and just changed out the SSID and password, and I've downloaded it and re-uploaded it several times to make sure I haven't changed anything.
- Attachments
-
- Screen Shot 2021-03-17 at 11.22.55 AM.png (39.11 KiB) Viewed 372 times
- squishpink
- Posts: 3
- Joined: Mon Mar 08, 2021 5:30 pm
Re: Adabox 016 - Trouble with SSID
I gave up trying to use TextEdit and downloaded Mu. My input for 'ssid' and 'password' were coming up black (instead of red) when I copied them into Mu. I rewrote them and saved to the board and it's running correctly. Not sure why I was having so much trouble editing in TextEdit, but it it working correctly now. ¯\_(ツ)_/¯
- adafruit_support_carter
- Posts: 29159
- Joined: Tue Nov 29, 2016 2:45 pm
Re: Adabox 016 - Trouble with SSID
Cool. Glad it's working. Some text editors can do...things.
https://learn.adafruit.com/welcome-to-c ... 2977443-18
https://learn.adafruit.com/welcome-to-c ... 2977443-18
Please be positive and constructive with your questions and comments.