Data conversions


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Aug 2015
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Data conversions

    Ok, so that makes it compile but all I get is garbage out. The data is not compatible to that command so I still need to convert the data.
    Anyone have any ideas?

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,624


    Did you find this post helpful? Yes | No

    Default Re: Data conversions

    Well, provided you've got baudrate, voltage levels and polarity all correct it looks like what's missing is the DEC modifier in serout command. Without the dEC modifier you're sending the data "as is" and not as ASCII text that you can read on a terminal.
    Code:
    serout serpin,N9600,[DEC (temperature/100)]
    /Henrik.

Similar Threads

  1. linear data memory & large data arrays
    By ronsimpson in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 28th June 2011, 00:21
  2. storing data and dumping data?
    By earltyso in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th November 2007, 16:57
  3. Help with Data of fiberoptic
    By Ryan7777 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 29th June 2007, 15:23
  4. Data
    By gzorzi in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th July 2004, 15:21
  5. ADC Conversions
    By Corey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 7th October 2003, 05:32

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