openGLCD manual configuration - Assistance needed


hello everyone

i've wired glcd according how should done. i'm trying free analog i/o 4 of arduino nano i'm using since need wire library able use i2c communication. analog i/o 5 free use.

the glcd makes use of analog i/o 4 for glcd enable. looked @ openglcd config file , switched on manual configuration file. in manual configuration file changed a4 a6 , uploaded again after restarting ide. display, displayed lot of garbage. changed manual configuration file a7 try , see if made difference. didn't. lastly tried change on digital pin, i've used 13 , stll didn't work.

so i'm hoping 1 of assist me on how resolve issue. i'm not sure if maybe i'm declaring wrong in manual configuration file perhaps or maybe else?

i've attached manual configuration file, main configuration file  , picture of display shows different manual configuration settings. i've numbered displays , here how it's been configured specific picture:

1.)  #define glcdpinen            a6 / a7
2.) #define glcdpinen            a6 / a7
3.) #define glcdpinen            a4
4.) #define glcdpinen            13

thank in advance
dirk


maybe else?


dirk,
i'm assuming wanting free i2c pins?

what did ok.
however, issue bumping that
a6 , a6 analog pins. cannot used digital pins
as the  avr internally didn't hook them register digital i/o.
the arduino core code doesn't sanity checks , will
end indexing off end of table there no telling actually
happens.

you should able digital pin 13, use else other en.
pin 13 led blinks on reset , may send some
bad data lcd when blinks during reset.
to require changing 2 pins, en , other pin use 13.
maybe hook r/w pin 13. (the led on reads , off writes).

alternatively, pick different pin en other a6, a7 or 13,
perhaps pin 2 or 3?

--- bill


Arduino Forum > Using Arduino > Displays > openGLCD manual configuration - Assistance needed


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support