DEC to ASCII not working in HSEROUT


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    4


    Did you find this post helpful? Yes | No

    Cool I think I have the same DEC5 problem

    Hello,
    On Friday I was having a similar problem with the DEC5 and HSEROUT but I am not sure if is this "bug" or if my ADC was dead. Tomorrow I will check at work.

    Now I tested in a 18F4680 at home:

    Walue = 100 'also defined as word
    HSEROUT [DEC5 Walue,10,13]

    and the terminal shows "100" as expected, using PBPro, compling with MPLAB, so it seems to work fine.

    By the way, aren't you mixing up the LCD commands with the HSEROUT?
    $FE etc.. is used in the LCDOUT command, that has a different sintax than HSEROUT.

    JM

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jmontse View Post
    By the way, aren't you mixing up the LCD commands with the HSEROUT?
    $FE etc.. is used in the LCDOUT command, that has a different sintax than HSEROUT.

    JM
    Hello JM, The $FE is probably a serial LCD command as is the $47 giving instruction to it as to where to place the "string" data, as opposed to being HSEROUT formatting.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Similar Threads

  1. I2C Slave with a PIC
    By ralfmayr in forum mel PIC BASIC Pro
    Replies: 129
    Last Post: - 21st August 2016, 17:44
  2. HSEROUT and Commas, What? Help Me Understand
    By altech6983 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th July 2009, 19:12
  3. Is HSEROUT corrupting bit 7 ?????
    By Robert Wells in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 23rd October 2008, 16:26
  4. HSEROUT not working @ 40 MHz
    By CocaColaKid in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 14th September 2005, 17:44
  5. code problems
    By ngeronikolos in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 29th June 2005, 15:45

Members who have read this thread : 0

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

Tags for this Thread

Posting Permissions

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