Author |
Message |
Topic: SH1106 brightness settings - how to change? |
hueppi114
Replies: 11
Views: 7083
|
Forum: Various Posted: Mon Jan 20, 2020 10:47 pm Subject: SH1106 brightness settings - how to change? |
I tried to define the both bytes for config register and brightness as follows:
Dim Testarray(2) as word
Testarray(1) = &H81 'Config register for brightness
... |
Topic: SH1106 brightness settings - how to change? |
hueppi114
Replies: 11
Views: 7083
|
Forum: Various Posted: Sun Jan 19, 2020 9:40 pm Subject: SH1106 brightness settings - how to change? |
Hello,
I tried to send the bytes like this, to go to maximum brightness, for example:
I2cstart
I2Csend &H78 , &H81 , &HFF
I2Cstop
but I recieve a remark that there is an invalid ... |
Topic: SH1106 brightness settings - how to change? |
hueppi114
Replies: 11
Views: 7083
|
Forum: Various Posted: Sat Jan 18, 2020 11:23 am Subject: SH1106 brightness settings - how to change? |
thank you,
the library I have for the SH1106 has this informations like this
_gwrite_cmd:
call _i2c_start
ldi r17,&H78
call _i2c_write ; write slave address
... |
Topic: SH1106 brightness settings - how to change? |
hueppi114
Replies: 11
Views: 7083
|
Forum: Various Posted: Wed Jan 15, 2020 7:03 pm Subject: SH1106 brightness settings - how to change? |
Thank you!
it works to change it in the library file.
But when I want to write it as a commane
lcdcmd &H81
lcddata 50
I get the remark "label not found (LCD_CONTROL).
Is that a library ... |
Topic: SH1106 brightness settings - how to change? |
hueppi114
Replies: 11
Views: 7083
|
Forum: Various Posted: Tue Jan 14, 2020 8:14 pm Subject: SH1106 brightness settings - how to change? |
Dear all,
I recieved some SH1106 few days ago, and I would like to dim it a little bit, but it doesn´t work.
I tried to adjust the settings in the .lib file, as I did successfully in a .lib file for ... |
|