wyolum / EPD

Electronic Paper Display libraries and examples
44 stars 44 forks source link

Trouble in Arduino IDE #4

Open Anderson69s opened 7 years ago

Anderson69s commented 7 years ago

Hi, how are you?

I bought a Badger_V4 at Seeedstudio a while ago. I stored it and now that I need to use it again, I can't compile your examples.

I'm using the latest version of Arduino IDE : 1.8.3. Last time, I used version 1.5.6 and had no trouble at all.

If I'm using EPD.h in my code, both versions of Arduino IDE are complainning about a redeclaration of EPD Class.

If I'm using EPD_V2.h, I can compile and upload the code without a problem but nothing appered on the Badger_V4 after a reboot...

I saw that you made commit recently could it be the origin of the problem?

Waiting for your answer,

Best Regards, Alexandre

osbock commented 7 years ago

Sorry this is a bit of a mess right now. Pervasive devices stopped making the display we originally used (It had a so called COG 1 driver) The new displays currently shipped by Seeed use a COG2 driver. If you have one of the original displays, the new code will compile but won't drive the display.

I haven't refactored the code to work with both, but there is a V1 branch. try checking that out and see if it works for you.

Anderson69s commented 7 years ago

Thank you, I haven't seen the V1 branch : my bad...

I tested with the right branch and my trouble were gone :-)

wyojustin commented 7 years ago

Hey! Great job Kevin and Alexandre! I love it when a problem gets solved!

J

On Tue, Jul 25, 2017 at 5:54 PM, Alexandre Perier-Muzet < notifications@github.com> wrote:

Thank you, I haven't seen the V1 branch : my bad...

I tested with the right branch and my trouble were gone :-)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wyolum/EPD/issues/4#issuecomment-317884400, or mute the thread https://github.com/notifications/unsubscribe-auth/AA3QW2CeQ54E7tbbzQtAshOdg5K_-t4tks5sRmQxgaJpZM4Og6MB .

-- Justin