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

Possible to get a example project? #5

Open
larryqiann opened this issue Aug 8, 2022 · 5 comments
Open

Possible to get a example project? #5

larryqiann opened this issue Aug 8, 2022 · 5 comments

Comments

@larryqiann
Copy link

Hi,

Thank you for this repository. I've been having a bit of trouble getting this set up, though I believe I have all the components in the right place, the build system is unable to find the u8g2.h file, even though the required components exist.

Does anyone have an example project that builds, that includes these libraries, that I could use as a reference?

Thanks!

@jdthorpe
Copy link
Contributor

jdthorpe commented Oct 7, 2022

How about this one

@larryqiann
Copy link
Author

Hi, thank you for this! I have recently tried this and it does in fact build correctly (though I wasn't able to get the git submodules to work, so I manually readded them)

Separately, I tried running this example on the ESP32-S2 and it resulted in crashing the chip (Onboard USB-Serial stops responding). I'm wondering if this is an S2 specific issue

Thanks!

@jdthorpe
Copy link
Contributor

I'm using an S2 also. I was having restart issues when I was using incompatible pins to drive the display. Even though there are a lot of GPIO pins, a lot of them have specific functionality, and using the wrong pins for SDA and SCL can cause restarts. You should be safe using the ones marked for that purpose on your datasheet (21 and 22 typically).

Also, I don't think the onboard 3.3v regulator on some of the dev boards is capable of powering much other than the ESP32 chip itself. I was fine with a tiny 0.91" oled, but anything bigger caused issues til I moved to powering my accessories separately and only trying them to the dev unit with signal and ground.

@larryqiann
Copy link
Author

Oh yes, thank you for this information! I tried your code on a ESP32-C3 that had a real hardware USB Serial on it and this showed that it was rebooting with "GPIO" errors. Good to know the S2 also has this limitation, though it appears that the OG ESP32 does not have these limitations to as great of an extent. Thank goodness no boards were designed with this wiring...

@thedeadliestcatch
Copy link

How about this one

This is presently broken, FYI.

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

No branches or pull requests

3 participants