PBP 2.50 UPGRADE problems!!!!


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Default text

    The text changes but still off position by 2 places to the left, I should now correct what I was saying earlier, ROW1 has been shifted to the LEFT 2 places NOT to the right 2 places. Either way, the problem is still there.

    I also tried modifying the CONSTANTS for ROW's 2, 3, & 4,....they work fine and update with any editing, ex: Row2+4 and CON 194 change Row2 immediately.

    It's just Row1
    Padawan-78

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by earltyso View Post
    The text changes but still off position by 2 places to the left, I should now correct what I was saying earlier, ROW1 has been shifted to the LEFT 2 places NOT to the right 2 places. Either way, the problem is still there.
    I also tried modifying the CONSTANTS for ROW's 2, 3, & 4,....they work fine and update with any editing, ex: Row2+4 and CON 194 change Row2 immediately.
    It's just Row1
    Change all of those constants from:
    Row(whatever) to Ln(whatever)....
    see what happens.

    Also, it might be a timing problem. Shifting to the LEFT tells me it's missing an E pulse because the LCD is busy doing it's thing.
    -----LCDOut 254,1-----
    takes quite a bit more time to execute than the rest of the LCD commands.
    Increase your LCD_COMMANDUS value or put an extra pause of a couple milliseconds after that command.

  3. #3
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Default Hot Dang

    You were right! There is some kind of timing problem that has come up with the new software that wasn't there before, perhaps my oscillator is spontaneously acting weird. I am going to guess that the newest PBP has changed the whole LCDOUT 254,1 command a bit. I am currently running at 4Mhz which I know is not recommended for the LCDOUT commands, I have always run 12 Mhz before but wanted to try 4 anyway.

    Thanks for your help, a small delay of 1ms seems to be enough for now until I change out the crystal.

    LCDOut 254,1
    pause 1
    LCDOut 254,Row1, " Welcome to the "
    LCDOut 254,Row2,0,1," All-In-One ",4,5
    LCDOut 254,Row3,2,3," Light & Water ",6,7
    LCDOut 254,Row4, " Controller! "

    Thanks again!!!!!!!
    Padawan-78

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Read the manual...You'll find DEFINE LCD_COMMANDUS and DATA_US. Increase those and you should be ok without the extra pause.

  5. #5
    Join Date
    Jan 2007
    Location
    Houston, TX
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    I will be sure to do that.
    Padawan-78

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default

    Hi,

    I had the same issue with PbP 2.50a some times ago ...

    Thought it was my LCD a bit lazy!!!

    DEFINE LCD_COMMANDUS 2000 solved that ...

    May be a better PBP timing ... the datasheet told 1.62 ms !!! LOL ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Interesting.

    The default timing has been changed in 2.50

    2.46 - pbppic14.lib
    Code:
        ifndef LCD_COMMANDUS	; LCD command delay in us
    LCD_COMMANDUS EQU 2000
        endif
        ifndef LCD_DATAUS		; LCD data delay in us (0 - 255)
    LCD_DATAUS EQU 50
        endif
    2.50 - pbppic14.lib
    Code:
        ifndef LCD_COMMANDUS	; LCD command delay in us
    LCD_COMMANDUS EQU 1500
        endif
        ifndef LCD_DATAUS		; LCD data delay in us (0 - 255)
    LCD_DATAUS EQU 44
        endif
    Added: And yes, it's in the manual. (sort of)
    Last edited by Darrel Taylor; - 14th January 2008 at 21:10. Reason: it's in there
    DT

Similar Threads

  1. PBP 2.50 and Longs
    By mikendee in forum GPS
    Replies: 1
    Last Post: - 21st May 2008, 21:16
  2. Strange problem with PBP 2.50
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th October 2007, 20:45
  3. MCS+ with PBP 2.50
    By BrianT in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 21st September 2007, 05:52
  4. New PBP 2.50?
    By Dave in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 9th September 2007, 19:14
  5. PBP upgrade queries
    By muddy0409 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 7th November 2006, 12:45

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