Comments (5)
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 (
Line 51 in 89c4e23
Lemme know how you get on.
from st7735_spi_stm32.
Ignore my comment about the blue <-> red thing -- http://cal-eng.com/?page_id=981. Just need to swap channels.
from st7735_spi_stm32.
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.
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.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from st7735_spi_stm32.