Binary to ASCII routine


Closed Thread
Results 1 to 2 of 2
  1. #1
    sonnichs's Avatar
    sonnichs Guest

    Default Binary to ASCII routine

    I am trying to write ASCII text numerals to an LCD and could not find a command to convert my regsiter contents into readable ASCII. Perhaps there is not such command in PB and I need to write one? If so does anyone have an optimized code sample (non-pro verision) for converting binary to Ascii

    Thanks,
    Fritz

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


    Did you find this post helpful? Yes | No

    Default

    Hi,

    See the link below.

    Convert a byte into three ASCII digits and display them on the LCD.

    See PDF page 17 and 19 (doc page 87 and 89, source code page 89).
    http://www.parallax.com/html_pages/d...p_AppNotes.pdf

    Best regards,

    Luciano

Similar Threads

  1. Convert long binary number to ASCII Decimal
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 9th July 2009, 13:58
  2. SerIn2 ASCII Conversion
    By rwskinner in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 4th March 2008, 21:41
  3. Replies: 3
    Last Post: - 28th March 2005, 11:53
  4. Decimal to binary conversion
    By Demon in forum Code Examples
    Replies: 9
    Last Post: - 25th February 2005, 20:05
  5. Conversion of 10-bit word into ASCII
    By Barry Johnson in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th January 2005, 14:26

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