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

UC1608 240X128 Constructor #101

Closed
GavinBrownAus opened this issue Dec 6, 2016 · 21 comments
Closed

UC1608 240X128 Constructor #101

GavinBrownAus opened this issue Dec 6, 2016 · 21 comments
Milestone

Comments

@GavinBrownAus
Copy link

Hi Oliver,

Hope your well?

Really like using your older U8G library on Arduino - its excellent. Have recently migrated onto the Teensy boards with a UC1608 controller and its even better - thank you.

I'm looking to migrate across to your new U8G2 library with the Teensy also using the UC1608 controller.

Can you advise how I go about porting the following constructor please?

U8GLIB_UC1608_240X128 u8g(2, 3, 4, 5);

I can see the 240X64 controller but not the 240X128 version.

Any help is greatly appreciated.

@olikraus
Copy link
Owner

olikraus commented Dec 6, 2016

Can you provide the data sheet?

@GavinBrownAus
Copy link
Author

Please see attached.
RX240128A-GHW.pdf

olikraus added a commit that referenced this issue Dec 6, 2016
@olikraus olikraus added this to the 2.8 milestone Dec 6, 2016
@olikraus
Copy link
Owner

olikraus commented Dec 6, 2016

Can you test the new UC1608_240X128 constructor?
Please download U8g2lib 2.8.1 from here:
https://github.com/olikraus/U8g2_Arduino/archive/master.zip
You need to add this zip to your Arduino IDE (Add Zip Library).

Thanks for testing

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 7, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 7, 2016

Can you post the u8glib constructor which worked for you?

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 7, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 7, 2016

ok, this means you should use this constructor, right?
U8G2_UC1608_240X128_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=/ 2, / data=/ 3, / cs=/ 4, / dc=/ 5, / reset=*/ U8X8_PIN_NONE);

Yet, this is not working, correct?

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 7, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 7, 2016

ok, what about
U8G2_UC1608_ERC24064_1_4W_SW_SPI u8g2(U8G2_R0, /* clock=/ 2, / data=/ 3, / cs=/ 4, / dc=/ 5, / reset=*/ U8X8_PIN_NONE);

Will this show anything?

Maybe you can also run the ContrastTest example for the page buffer section, just to ensure that this is not a contrast issue.

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 8, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 8, 2016

Seeing at least something is always a good news. Can you post a picture how it looks like?
Thanks...

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 8, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 8, 2016

somehow i am not able to see the image :-(

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 8, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 8, 2016

no :-(
Can you e-mail this to me?
Strange...

@olikraus
Copy link
Owner

olikraus commented Dec 8, 2016

ok,got it. Which example did you use? HelloWorld.ino?

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 8, 2016 via email

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 8, 2016 via email

olikraus added a commit that referenced this issue Dec 8, 2016
@olikraus
Copy link
Owner

olikraus commented Dec 8, 2016

ok, thanks a lot so far.
Can you check the latest release from here:
https://github.com/olikraus/U8g2_Arduino/archive/master.zip
Thanks

@GavinBrownAus
Copy link
Author

GavinBrownAus commented Dec 9, 2016 via email

@olikraus
Copy link
Owner

olikraus commented Dec 9, 2016

Great. Thanks for feedback and testing.

@olikraus olikraus closed this as completed Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants