1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU0059)
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Great! Cheers!
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hello
I was buy and now testing your display but I must drive it with I2C,
In the rear was not specified:
R3= NOT FITTED -----ok?
R1, R8 =0R?
Pin C.S. GND, RES GND, D/C GND= address 0X3C?
Thanks for the informations, and many thanks
Marco
I was buy and now testing your display but I must drive it with I2C,
In the rear was not specified:
R3= NOT FITTED -----ok?
R1, R8 =0R?
Pin C.S. GND, RES GND, D/C GND= address 0X3C?
Thanks for the informations, and many thanks
Marco
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hi
It work, but the reset is low!!! the display run with RES at VDD
cheers, Marco
It work, but the reset is low!!! the display run with RES at VDD
cheers, Marco
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
That looks correct to me.R3= NOT FITTED -----ok?
R1, R8 =0R?
Yes, checking the datasheet with D/C pulled low the I2C will be 0x3C. With D/C pulled high the I2C address will be 0x3DD/C GND= address 0X3C?
Code: Select all
RES GND
That's correct, C.S is active low so you need to hold the pin low to communicate with the screen.C.S. GND
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hi
Ok many thanks now the display work well.
I have only a trouble because I have written the driver in Basic
and the image was shift by 4 bit left (the driver is 132x64 the display 128)
and I am unable to shift the image right
Any help?, thanks, Marco
Ok many thanks now the display work well.
I have only a trouble because I have written the driver in Basic
![Smile :)](./images/smilies/icon_e_smile.gif)
and the image was shift by 4 bit left (the driver is 132x64 the display 128)
and I am unable to shift the image right
Any help?, thanks, Marco
-
- Posts: 14
- Joined: Sun Jan 05, 2014 12:40 pm
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Add 2 to x-position.
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hi
Yes This night was run!!!
Many thanks for your assistance, I hope to buy many
Marco
Yes This night was run!!!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Many thanks for your assistance, I hope to buy many
![Wink ;)](./images/smilies/icon_e_wink.gif)
Marco
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Hello,
I buought two SH1106 displays and I can't get them working using Arduino Due.
Are there any workarounds for the following two compile errors?
****************************
C:\Users\.....\Documents\Arduino\libraries\HCuOLED\fonts.h:3114:1: error: cannot convert 'const uint16_t* {aka const short unsigned int*}' to 'const unsigned int*' in initialization
};
C:\Users\...\Documents\Arduino\libraries\HCuOLED\HCuOLED.cpp:500:47: error: 'dtostrf' was not declared in this scope
dtostrf(value, digits, DecimalPlaces, Buffer);
********************************
Thank you very much.
Regards
Enzo
I buought two SH1106 displays and I can't get them working using Arduino Due.
Are there any workarounds for the following two compile errors?
****************************
C:\Users\.....\Documents\Arduino\libraries\HCuOLED\fonts.h:3114:1: error: cannot convert 'const uint16_t* {aka const short unsigned int*}' to 'const unsigned int*' in initialization
};
C:\Users\...\Documents\Arduino\libraries\HCuOLED\HCuOLED.cpp:500:47: error: 'dtostrf' was not declared in this scope
dtostrf(value, digits, DecimalPlaces, Buffer);
********************************
Thank you very much.
Regards
Enzo
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
The second error can be solved adding the line
in the file HCuOLED.h.
For the first error, in the file fonts.h the row 3002
sould be changed in
Code can now compile also on Arduino Due board.
Ciao
Enzo
Code: Select all
#include <avr/dtostrf.h>
For the first error, in the file fonts.h the row 3002
Code: Select all
const PROGMEM uint16_t MedProp_11ptDescriptors[][2] =
sould be changed in
Code: Select all
const PROGMEM unsigned int MedProp_11ptDescriptors[][2] =
Ciao
Enzo
Re: 1.3" SH1106 uOLED Display Module (HCMODU0058 & HCMODU005
Thanks for the information. The uOLED library wasn't tested with the Due and although in theory it should work as it uses standard Arduino functions, there are some difference in the way things have been implemented on the Due which can sometimes cause issues.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.