Code Monkey home page Code Monkey logo

Comments (5)

illis avatar illis commented on August 24, 2024

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)
I think RS/DC maps to A0 in this code (

// ST7735 A0 (Data/Command select) pin
) (PA11 by default).

Lemme know how you get on.

from st7735_spi_stm32.

illis avatar illis commented on August 24, 2024

Ignore my comment about the blue <-> red thing -- http://cal-eng.com/?page_id=981. Just need to swap channels.

from st7735_spi_stm32.

illis avatar illis commented on August 24, 2024

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).

from st7735_spi_stm32.

RD2RTG avatar RD2RTG commented on August 24, 2024

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.

from st7735_spi_stm32.

illis avatar illis commented on August 24, 2024

@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

from st7735_spi_stm32.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.