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

Using Waveshare Epaper with HeltecV2 (Lora) #11

Open
tuhorkko opened this issue Aug 26, 2019 · 0 comments
Open

Using Waveshare Epaper with HeltecV2 (Lora) #11

tuhorkko opened this issue Aug 26, 2019 · 0 comments

Comments

@tuhorkko
Copy link

I would like to use my epaper with HeltecV2 and LoRa. Is there something wrong with my pinmapping. I use LMIC which works fine but Epaper does not! For E-paper is use GxEPD-library (works fine with Arduino UNO), But I am totally lost with pinmapping. Is there something wrong with my pinmapping:

//For LMIC:
const lmic_pinmap lmic_pins = {
.nss = 18,
.rxtx = LMIC_UNUSED_PIN,
.rst = 14,
.dio = {26, 34, 35},
};

//For E-paper:
GxIO_Class io(SPI, /CS=5/ 17, /DC=/ 23, /RST=/ 16); // arbitrary selection of 17, 16
GxEPD_Class display(io, /RST=/ 16, /BUSY=/ 2); // arbitrary selection of (16), 4
//E-paper CLK (YELLOW) connected to Heltec pin5
//E-paper DIN (BLUE) connected to Heltec pin27
//

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

1 participant