St7735s module - #165
Open
DomninDmitry-dev wants to merge 6 commits into
Open
St7735s module#165DomninDmitry-dev wants to merge 6 commits into
DomninDmitry-dev wants to merge 6 commits into
Conversation
Signed-off-by: Dmitry Domnin <dmitry8728@gmail.com>
Datasheet st7735s - https://www.radiokot.ru/articles/78/01.pdf Signed-off-by: Dmitry Domnin <dmitry8728@gmail.com>
Signed-off-by: Dmitriy Domnin <d.domnin@p-sec.eu>
Signed-off-by: Dmitriy Domnin <d.domnin@p-sec.eu>
Signed-off-by: Dmitry Domnin <dmitry8728@gmail.com>
Signed-off-by: Dmitry Domnin <dmitry8728@gmail.com>
Author
|
Next will be framebuffer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
LCD module ST7735S. When the driver starts, output test image is performed.
Board connection:
OrangePi One | LCD ST7735S
LED -> +3V3
SCK -> SPIO_CLK (pin 23)
SDA -> SPIO_MOSI (pin 19)
AO -> PA0 (pin 13)
RESET -> PA1 (pin 11)
CS -> SPIO_CS (pin 24)
VCC -> +5V
Module Interface:
Example: echo "0 130 30 30 0xEF83" > /sys/class/st7735s/draw_rect
Example: echo 07A5 > /sys/class/st7735s/fill_screen
Example: echo 1234567890 > /dev/st7735s