Trying to use PIC18F4520 to do asynchronous serial transmit to PC


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    toalan's Avatar
    toalan Guest


    Did you find this post helpful? Yes | No

    Default

    take your 10 bit value and divide by 4 and get an 8 bit value, you lose 2 bits of resolution. after you divide by 4 just send it out using Serout or Hserout, you can send out a 10 bit word variable as long as it is less than 256, IE it will only send out the lower 8 bits of the 10 bit variable.

  2. #2
    TurboLS's Avatar
    TurboLS Guest


    Did you find this post helpful? Yes | No

    Default

    Oh yeah, I got all the serial transfer stuff working. Thanks again guys.

Similar Threads

  1. Replies: 11
    Last Post: - 12th July 2008, 02:36
  2. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  3. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 22:35
  4. PC serial port funny
    By nicjo in forum Serial
    Replies: 13
    Last Post: - 6th February 2007, 05:34
  5. Interrupt and Serial communication to PC.
    By obaskirt in forum mel PIC BASIC
    Replies: 2
    Last Post: - 17th June 2005, 20:01

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