LCDOUT not working at 16mhz oscillator speed.


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT not working at 16mhz oscillator speed.

    Yes I already tried that and it works just fine, but it messes up with all other timing settings in my code, which is about 16K.
    Is there any way to adjust the library settings?

  2. #2
    Join Date
    Aug 2011
    Posts
    453


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT not working at 16mhz oscillator speed.

    Not that I see, at least not without re-writing the lib asm code.

    It looks like your display just isn't compatible with the timing of LCDOUT.
    Your method of changing the osc freq before/after using the LCD is probably the easiest "fix" that comes to mind.

  3. #3
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT not working at 16mhz oscillator speed.

    Yes, quite possible, since this is not usual 1602 LCD module - it has 3 character sets (JP, Western europe, Cyrilic), switchable just like in WS0010. It also ignores LCDOUT $FE,$0 statement. But I will try with other 1602 modules and write the results.

  4. #4
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT not working at 16mhz oscillator speed.

    Try to increase delays with defines

    ' Set command delay time in us
    DEFINE LCD_COMMANDUS 1500
    ' Set data delay time in us
    DEFINE LCD_DATAUS 44
    Last edited by pedja089; - 19th November 2022 at 10:28.

  5. #5
    Join Date
    Feb 2013
    Posts
    1,124


    Did you find this post helpful? Yes | No

    Default Re: LCDOUT not working at 16mhz oscillator speed.

    Already tried. Has very little impact.

Similar Threads

  1. Define oscillator speed
    By CipiCips in forum PBP3
    Replies: 1
    Last Post: - 8th August 2016, 13:51
  2. PAUSEUS Using a 16MHz Oscillator
    By rsocor01 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 10th October 2013, 22:17
  3. Replies: 2
    Last Post: - 25th July 2012, 02:19
  4. High Speed Oscillator question
    By Tina10 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 9th July 2012, 10:29
  5. First time with external oscillator - 16F877a Not working
    By financecatalyst in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 15th October 2009, 17:14

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts