how to interface 4 bit lcd with 16 mhz crystal using avr

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
amu_bgr
Posts: 14
Joined: 06 Jun 2011 18:24

how to interface 4 bit lcd with 16 mhz crystal using avr

#1 Post by amu_bgr » 31 Dec 2012 15:09

with mikroelectronika easy avr board i am able to write lcd in 4 bit mode.but the same code is not working in circuit made in vero board. the hardware connection is same only difference is that i am using 16mhz crstal in vero board. is the library work for 16mhz clock.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: how to interface 4 bit lcd with 16 mhz crystal using avr

#2 Post by filip » 03 Jan 2013 11:28

Hi,

The library will surely work with the 16 MHz, I guess there are some hardware issues or Lcd connections declarations in the code.

Regards,
Filip.

amu_bgr
Posts: 14
Joined: 06 Jun 2011 18:24

Re: how to interface 4 bit lcd with 16 mhz crystal using avr

#3 Post by amu_bgr » 03 Jan 2013 13:31

filip wrote:Hi,

The library will surely work with the 16 MHz, I guess there are some hardware issues or Lcd connections declarations in the code.

Regards,
Filip.
i forget to mention that i am using 16mhz crystal(not oscilator) but in my dev board it is 8mhz external oscilator.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: how to interface 4 bit lcd with 16 mhz crystal using avr

#4 Post by filip » 04 Jan 2013 10:14

Hi,

Please, can you try changing the 16 MHz crystal with the 8 MHz and select the appropriate oscillator setting in the Edit Project window (External crystal)?

Regards,
Filip.

amu_bgr
Posts: 14
Joined: 06 Jun 2011 18:24

Re: how to interface 4 bit lcd with 16 mhz crystal using avr

#5 Post by amu_bgr » 05 Jan 2013 12:53

filip wrote:Hi,

Please, can you try changing the 16 MHz crystal with the 8 MHz and select the appropriate oscillator setting in the Edit Project window (External crystal)?

Regards,
Filip.
sorry its my fault not the library. the pot connected to the lcd was the problem

Post Reply

Return to “mikroBasic PRO for AVR General”