Which library are you using?
The yellow on my screen looks like a vibrant yellow.
You can change the RGB value for Yellow if you want to make it brighter.
[SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240 Wide
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
- fazambuja
- Posts: 17
- Joined: Wed Mar 21, 2018 12:07 am
Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle
I'm using the Adafruit graphictest file for now with:
I usually use the TFT_eSPI library using the really good looking smooth fonts and sprites to avoid flickering. What it's your setup?
Oh and I changed all the resolutions on the library to 240 x 240, just in case.
Testing the primaries, I found that the green is not saturated. Makes sense why the yellow is faded.
I will try other tables.
Code: Select all
tft.initR(INITR_BLACKTAB);
tft.setRotation(2); // the one that works
tft.invertDisplay(1);
Oh and I changed all the resolutions on the library to 240 x 240, just in case.
Testing the primaries, I found that the green is not saturated. Makes sense why the yellow is faded.
I will try other tables.
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle
I'm using the Particle Photon along with this library https://github.com/menan/adafruit_st7735
You can create custom fonts using this modified mfGFX library, which we got working years before the Adafruit added that feature to their GFX library. The mfGFX library uses a Windows program to create custom font arrays while the Adafrut font generator requires a Linux program to create new fonts I think.
I'm using the
You can create custom fonts using this modified mfGFX library, which we got working years before the Adafruit added that feature to their GFX library. The mfGFX library uses a Windows program to create custom font arrays while the Adafrut font generator requires a Linux program to create new fonts I think.
I'm using the
Same as you are.tft.setRotation(2);
tft.invertDisplay(1);
- fazambuja
- Posts: 17
- Joined: Wed Mar 21, 2018 12:07 am
Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle
That library looks good. I don't have a Particle Photon, I'm waiting for their new models :)
I noticed that they added the display for the Animated Snake Eyes Bonnet for Raspberry Pi (https://learn.adafruit.com/animated-sna ... spberry-pi). I might try to connect mine to a raspberry pi.
This how the green looks like against the not so vibrant M5Stack screen:
I noticed that they added the display for the Animated Snake Eyes Bonnet for Raspberry Pi (https://learn.adafruit.com/animated-sna ... spberry-pi). I might try to connect mine to a raspberry pi.
This how the green looks like against the not so vibrant M5Stack screen:
- Attachments
-
- IMG_0171.jpg (573.42 KiB) Viewed 1189 times
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle
Pull that protective sticker off the front of the screen for a better look.
Here are some more colors for you:
Have you figured out if the BL pin controls the backlight brightness yet? I have not tried.
The screen looks great and the resolution in this size is really good. I'm very happy with this screen.
Here are some more colors for you:
Code: Select all
#define LTBLUE 0xB6DF
#define LTTEAL 0xBF5F
#define LTGREEN 0xBFF7
#define LTCYAN 0xC7FF
#define LTRED 0xFD34
#define LTMAGENTA 0xFD5F
#define LTYELLOW 0xFFF8
#define LTORANGE 0xFE73
#define LTPINK 0xFDDF
#define LTPURPLE 0xCCFF
#define LTGREY 0xE71C
#define BLUE 0x001F
#define TEAL 0x0438
#define GREEN 0x07E0
#define CYAN 0x07FF
#define RED 0xF800
#define MAGENTA 0xF81F
#define YELLOW 0xFFE0
#define ORANGE 0xFC00
#define PINK 0xF81F
#define PURPLE 0x8010
#define GREY 0xC618
#define WHITE 0xFFFF
#define BLACK 0x0000
#define DKBLUE 0x000D
#define DKTEAL 0x020C
#define DKGREEN 0x03E0
#define DKCYAN 0x03EF
#define DKRED 0x6000
#define DKMAGENTA 0x8008
#define DKYELLOW 0x8400
#define DKORANGE 0x8200
#define DKPINK 0x9009
#define DKPURPLE 0x4010
#define DKGREY 0x4A49
The screen looks great and the resolution in this size is really good. I'm very happy with this screen.
- fazambuja
- Posts: 17
- Joined: Wed Mar 21, 2018 12:07 am
Re: Library ST7735 NOT WORKING for 1.54" 240x240 Wide Angle
Thanks, I will try later today.
I wish Adafruit at least acknowledge the issue, or tell us what are we doing wrong :(
I decided to try the github, hopefully, will get some response.
I also haven't tried the BL.
I wish Adafruit at least acknowledge the issue, or tell us what are we doing wrong :(
I decided to try the github, hopefully, will get some response.
I also haven't tried the BL.
- fazambuja
- Posts: 17
- Joined: Wed Mar 21, 2018 12:07 am
Re: Library ST7735 NEEDS SUPPORT for 1.54" 240x240 Wide Angl
No luck with the color. It looks like green looks like 82FF9F http://www.color-hex.com/color/b5ffc6
- fazambuja
- Posts: 17
- Joined: Wed Mar 21, 2018 12:07 am
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
Support is out!!!
However still not sure about the 3Vo and Backlight.
However still not sure about the 3Vo and Backlight.
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
hiya! sorry about that, we pushed the code to a branch and forgot to merge it with master >.<
we just did a release, check out v1.1.0 - you'll need to uncomment the ST7789 object but we just tested it! let us know how it goes
we just did a release, check out v1.1.0 - you'll need to uncomment the ST7789 object but we just tested it! let us know how it goes
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
Thanks for the updated library!adafruit2 wrote:hiya! sorry about that, we pushed the code to a branch and forgot to merge it with master >.<
we just did a release, check out v1.1.0 - you'll need to uncomment the ST7789 object but we just tested it! let us know how it goes
Can you talk about the BL pin on this breakout? Does the brightness dim based on the PWM it receives?
When will the schematic for the PCB be uploaded?
Thanks!
- adafruit2
- Posts: 22200
- Joined: Fri Mar 11, 2005 7:36 pm
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
its like 99% identical to this:
https://learn.adafruit.com/adafruit-min ... /downloads
the backlight pin connects to a transistor, you can use it to PWM the backlight or turn it off.
https://learn.adafruit.com/adafruit-min ... /downloads
the backlight pin connects to a transistor, you can use it to PWM the backlight or turn it off.
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
Thanks for the clarification!
I'll report back after testing the library changes.
Thanks!
I'll report back after testing the library changes.
Thanks!
- fazambuja
- Posts: 17
- Joined: Wed Mar 21, 2018 12:07 am
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
The graphicstest.ino works for me :)
Haven't tested the other ones yet.
Haven't tested the other ones yet.
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
I can verify that the BL "BackLight" pin does work to dim the brightness of the screen.
I recorded these power draws when feeding the LCD 3.3v from a bench power supply.
I recorded these power draws when feeding the LCD 3.3v from a bench power supply.
0 PWM = 12mA - 0.039 watts @3.3v
50 PWM - 16mA - 0.052 watts @3.3v
100 PWM - 21mA - 0.069 watts @3.3v
150 PWM - 25mA - 0.082 watts @3.3v
200 PWM - 30mA - 0.099 watts @3.3v
250 PWM - 34-35mA - 0.112-0.115 watts @3.3v
- solardude
- Posts: 145
- Joined: Fri Oct 18, 2013 12:47 am
Re: [SOLVED] Library ST7735 NEEDS SUPPORT for 1.54" 240x240
Can you tell me what the part number for the flex cable connector is on the 240x240 display PCB?adafruit2 wrote:its like 99% identical to this:
https://learn.adafruit.com/adafruit-min ... /downloads
the backlight pin connects to a transistor, you can use it to PWM the backlight or turn it off.
There is no schematic to reference.
Any help is appreciated.
Thanks!
Please be positive and constructive with your questions and comments.