KS0108 GLCD remapping problem [SOLVED]


hi,

i'm using ks0108 glcd display arduino nano board , openglcd library. works using default pinout (i changed data pins 3 analog pins stayed same). want use i2c module , glcd uses analog4 pin pin needed i2c. i've read here pins can remapped well, says pin:

quote
an example of remapping pin might change glcden use other pin rather 18 allow using i2c on m328 based board.
i tried change analog pin , updated configuration accordingly won't work. can remap a4 a5 , work, when remap a6 or a7 doesn't work anymore. when run helloworld example, garbage on lcd, part of "hello world" text seen. , when try diags example, "glcd initialization failed: busy wait timeout (status code: 1)" can see garbage on screen.

what wrong , why work on a4 , a5 pins? need these pins i2c how can make work on a6/a7?

edit: found out a6 , a7 input only. how can make glcd work can have a4 , a5 free i2c?

solved: stupid , wasn't thinking enable pin digital , original pinout using analog save digital pins connected digital pin 10 , works!

one thing have seen can cause problems, enable signal mapped pin controls led. when led blinks in bootloader, can create issues.
just keep in mind if decide move pin enable again.

--- bill


Arduino Forum > Using Arduino > Displays > KS0108 GLCD remapping problem [SOLVED]


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'