Skip to content
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

help me please #2

Open
itsterit opened this issue Jan 6, 2021 · 5 comments
Open

help me please #2

itsterit opened this issue Jan 6, 2021 · 5 comments

Comments

@itsterit
Copy link

itsterit commented Jan 6, 2021

hello, help me please. I seem to have set everything up, but the screen shows no signs of life.
I use:
stm32f103c8t6
sh1106
STM32CubeIDE

sh1106.zip

@itsterit
Copy link
Author

itsterit commented Jan 7, 2021

STM32F103_OLED_SH1106_SPI-master.zip
I can change the contrast, I can invert the colors of the display, BUT I cannot display anything on it, what can this be related to? (some artifacts appear on the screen, I change the contrast)

@itsterit
Copy link
Author

itsterit commented Jan 7, 2021

@bagaar-tech
Copy link

bagaar-tech commented Feb 5, 2021

Did you run the init function (SH1106_Init) ?
Did you try the command to light up the full display ? Can you confirm you use a 128x64 display?
Next step would be to add a pattern.
And after that you can start to write characters to it, for which you need to pass a "font" description as well, you can easily find e.g. font5x7.h

@afshinabdi90
Copy link

Can you post an example project of a complete setup of this library
I have these itsterit problems too
Thanks

@Suresh6060
Copy link

I am getting syntax error on this line
attribute((always_inline)) void LCD_Pixel(uint8_t X, uint8_t Y, uint8_t Mode)

How can it be resolved

sh1106.h:198:13: warning: inline function 'LCD_Pixel' declared but never defined
198 | inline void LCD_Pixel(uint8_t X, uint8_t Y, uint8_t Mode);

Show while compiling on STM32CubeIDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants