A Little surprise with PbP 2.50 ...


Closed Thread
Results 1 to 31 of 31

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Confirmed ...

    Here is a little try: ( read from the .ASM file )

    ; C:\PROGRAM FILES\MICROCHIP\MPLAB IDE\PROJETS\PICBOARD.BAS 00046 LCDOUT $FE, $C0, DEC NCD I,"°öµC"
    LCDOUT?C 0FEh
    LCDOUT?C 0C0h
    LCDOUTCOUNT?C 000h
    NCD?WW _I, T1
    LCDOUTNUM?W T1
    LCDOUTDEC?
    LCDOUT?C 0FFB0h ************ " ° " outputs $B0 instead of $DF
    LCDOUT?C 0FFF6h ************ " ö " outputs $F6 instead of $EF
    LCDOUT?C 0FFB5h ************ " µ " outputs $B5 instead of $F7
    LCDOUT?C 043h ************ " C " outputs $43 … which is GOOD !!


    Not so easy to debug what happens to Cin value !!!

    Alain

    If I got it right, by that you mean that new version 2.50 puts garbage to strings?

    Ioannis

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


    Did you find this post helpful? Yes | No

    Unhappy

    Hi, Ioannis

    The exact meaning is PbP 2.50 LCDOUT doesn't work properly with characters which Character "number" is > 127 ( see LCD Character Table ...)

    Alain
    Last edited by Acetronics2; - 15th October 2007 at 10:22. Reason: Oooops NOT Asciiii
    ************************************************** ***********************
    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 " !!!
    *****************************************

  3. #3
    Join Date
    Sep 2007
    Location
    Australia
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Well now. Maybe when novices ask a question, senior members will stop saying RTFM

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


    Did you find this post helpful? Yes | No

    Talking

    Quote Originally Posted by Wilson View Post
    Well now. Maybe when novices ask a question, senior members will stop saying RTFM
    Hi, Wilson ...

    That can't be in the Manual ... of course !!!

    You HAVE to read the manual !!! repeating the book pages is a bit boring and uninteresting for everyone ... but you ... don't you think ???

    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 " !!!
    *****************************************

  5. #5
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    PbP 2.50 LCDOUT doesn't work properly with characters
    which ASCII "number" is > 127 ( see ASCII Table ...)
    Hi Alain,

    OS version?
    What is the used language on you PC? English United States?

    Can you post a short program so that someone can try to
    compile it on a 100% English United States system?

    Best regards,

    Luciano

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


    Did you find this post helpful? Yes | No

    Post

    Hi, Luciano

    Ooops !!! Not Asciii characters but LCD Characters ( so, no link to OS or machine ... or version of English ... LOL )

    If the Highest bit of the Character code is set ... Wrong Output !!!


    Just try this line, whatever the processor :



    LCDOUT $FE, 1, "°öµC"

    and look at what displayed.


    Alain
    Last edited by Acetronics2; - 15th October 2007 at 10:29.
    ************************************************** ***********************
    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
    Nov 2003
    Location
    Greece
    Posts
    4,132


    Did you find this post helpful? Yes | No

    Default

    OK, Alain. I got it. To be sure of what you typed and what I did see on screen I converted to image and attached it. So is this what you really typed? My system is English-Greek.

    Ioannis
    Attached Images Attached Images  

  8. #8
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Hi Alain,

    I understand that you have a problem when you compile
    Code:
    LCDOUT $FE,$C0," ", SDEC2 Tair,"°C "
    where the degree symbol is not correctly translated in
    the corresponding LCD character.

    Are you sure that during the source code parsing the compiler
    gets the correct character? This is why I suggested to try on
    a 100% English United States system.

    Best regards,

    Luciano

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


    Did you find this post helpful? Yes | No

    Default

    Luciano,

    There was no problem with 2.47 release

    so, Understand that is not my problem ... but melabs' !!!

    I've had a quick look to see if I could debug it by myself ... just found the problem occurs with > 127 ASCII input ( keyboard ) values.

    I'm just a system user ... and my computer knowledge stops at the letters stamped on my keyboard !!!

    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 " !!!
    *****************************************

Similar Threads

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

Members who have read this thread : 1

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