Skip to content

Add "WEMOS LoLin32" boards support. #35

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 2 commits into from
Nov 8, 2016
Merged

Add "WEMOS LoLin32" boards support. #35

merged 2 commits into from
Nov 8, 2016

Conversation

wemos
Copy link
Contributor

@wemos wemos commented Nov 8, 2016

@projectgus
@me-no-dev
Add "WEMOS LoLin32" boards support.
Thank you.

static const uint8_t SDA = 21;
static const uint8_t SCL = 22;

static const uint8_t SS = 2;
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't SS be GPIO 5?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The ESP32's "General purpose SPI" can be remap to any GPIO

Copy link
Member

Choose a reason for hiding this comment

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

true, but it will not work just by defining it here ;)

Copy link
Member

Choose a reason for hiding this comment

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

OK I'm merging this now and will make the necessary adjustments to make your SS pin work.
Keep in mind that GPIO2 is a bootstrap pin that is pulled down by default (like GPIO15 on ESP8266) and that does not make it a very good SS pin, because it will have the slave selected on boot.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree with you, changed the SS to GPIO5.
Thank you.

@me-no-dev me-no-dev merged commit 6cc5a9f into espressif:master Nov 8, 2016
Lzw655 pushed a commit to Lzw655/arduino-esp32 that referenced this pull request Oct 12, 2023
brentru pushed a commit to adafruit/arduino-esp32 that referenced this pull request Oct 22, 2024
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