Best way to use USART/HSERIN


Closed Thread
Results 1 to 18 of 18

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Best way to use USART/HSERIN

    Dumb question, did you assign initial values to the pins, ADC, CONFIGs, etc?

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: Best way to use USART/HSERIN

    Not a dumb question, Robert - I did not. Think I should add 'PORTD =0'?

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,172


    Did you find this post helpful? Yes | No

    Default Re: Best way to use USART/HSERIN

    I'd use the variables.

    Why the renaming?

    led1 var PORTD.1
    led2 var PORTD.2
    led7 var PORTD.7

    ERROR_LED VAR led7 ' rename the LED's
    LATE_LED VAR led2t
    HEART_LED VAR led0

Similar Threads

  1. USART to PC
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 15th October 2008, 01:09
  2. Usart
    By lew247 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd June 2008, 00:41
  3. Sharing a USART
    By Ron Marcus in forum Serial
    Replies: 1
    Last Post: - 7th September 2005, 15:48
  4. 9 bit addressable USART
    By barkerben in forum General
    Replies: 9
    Last Post: - 4th January 2005, 23:57

Members who have read this thread : 2

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