-
Notifications
You must be signed in to change notification settings - Fork 2
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
additional info needed when using sainsmart st7735 tft #1
Comments
Just currently messing around trying to get this to work with libopencm3. Got it somewhat working with some cheap 128x128 screen. Still having issues with clears not filling the entire screen, and red showing up as blue and vice versa. SCL == SCK (PB13 if your using SPI2) Line 51 in 89c4e23
Lemme know how you get on. |
Ignore my comment about the blue <-> red thing -- http://cal-eng.com/?page_id=981. Just need to swap channels. |
Also just fixed my issue with not filling the entire screen - just needed to add some calibration tweaks to the ST7735_AddrSet function (prob is a better way somewhere). |
Hi illis. Thanks for the response. I got some time to work with it few weeks ago. Yes RS/DC goes to A0 and SCL is SCK. Using this code i was running into some wierd issues. I can print stuff on the screen now but only with 5x7 functions at 2x magnification. I see some unrecognizable scribbles with 5x7 1x, 7x11 1x and 2x . I havent tried any pictures yet on this display. I will try to get some snapshots of screen displays for various conditions and upload them here. |
@RD2RTG One thing that springs to mind, could be the initization settings for the display - as there are a few variants (black/red/green/... tabs). I think I compared my init strings with some from here: https://github.com/adafruit/Adafruit-ST7735-Library/blob/master/Adafruit_ST7735.cpp#L138 |
Hi,
First of all, i really appreciate the effort you have put in creating these drivers. I am doing a pet project to drive st7735 sainsmart 1.8 inch tft using stm32f103c8T6 minimum system eval board off amazon. The following is the pin breakout on that tft. Last 4 are for sd-card and has to be controlled by a seperate SPI hardware. So leave them be for now. I am trying to connect rest of the pins to the stm32 SPI2 as per the pin breakout in the comments for main.c . VCC,GND,CS,SDA and RESET are pretty straight forward but do you know where SCL and RS/DC should go according to your diagram??
The text was updated successfully, but these errors were encountered: