Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Example using ESP32 GPIO pins from CircuitPython #89

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

Merged
merged 13 commits into from
Apr 21, 2020
Merged

Example using ESP32 GPIO pins from CircuitPython #89

merged 13 commits into from
Apr 21, 2020

Conversation

anecdata
Copy link
Member

@anecdata anecdata commented Feb 21, 2020

Example illustrating the set_digital_write() and set_analog_write() functions (added to the Adafruit_CircuitPython_ESP32SPI library in conjunction with NINA firmware version 1.3.1), and the set_digital_read() and set_analog_read() functions (added to the Adafruit_CircuitPython_ESP32SPI library in conjunction with NINA firmware version 1.5.0).

@anecdata
Copy link
Member Author

This should be ready to roll, does not affect the library code. I'd welcome any review or test.

@brentru
Copy link
Member

brentru commented Apr 21, 2020

@anecdata This PR is failing on pylint, could you edit to to pass and tag me when it passes? Thanks. This'll be a helpful example for people multi-tasking the ESP32.

@anecdata
Copy link
Member Author

@brentru black issued a non-specific error (this passed pre-black). I thought black reformats automatically. I'm looking into it, not sure what to do yet.

@brentru
Copy link
Member

brentru commented Apr 21, 2020

@anecdata We have a guide about running Black locally here: https://learn.adafruit.com/improve-your-code-with-pylint

@anecdata
Copy link
Member Author

@brentru Passed.

Copy link
Member

@brentru brentru left a comment

Choose a reason for hiding this comment

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

Looks great, thanks for adding documentation

@brentru brentru merged commit 3cf7b8a into adafruit:master Apr 21, 2020
@anecdata anecdata deleted the gpio branch April 21, 2020 18:57
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Apr 22, 2020
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 3.3.2 from 3.3.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#89 from anecdata/gpio

Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 2.2.0 from 2.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#29 from jimbobbennett/master
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#30 from jimbobbennett/fix_broker
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