Instant Interrupt and USART


Closed Thread
Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    108


    Did you find this post helpful? Yes | No

    Thumbs down

    Hello again..

    As I posted, it worked well when using a single byte (cod). But, I can´t get it working when using array (cod[4]).

    Code:
    COD    VAR   BYTE[4]
    
    HSERIN [STR COD\4] 
    .
    or
    .
    HSERIN [STR COD\4\"~"]
    .
    .
    HSEROUT [STR COD\4]
    .
    .
    When using serial comm. as an echo, I get 'strange' number, but never a complete byte.

    I've looked for this hserin format all over the forum but none of the solutions worked yet...

    Any ideas?

    Thanks again!
    Sylvio,

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sirvo View Post
    As I posted, it worked well when using a single byte (cod). But, I can´t get it working when using array (cod[4]).
    Thanks again!
    What happens if you use 4 HSERIN's back-to-back?

  3. #3
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    108


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    What happens if you use 4 HSERIN's back-to-back?
    Well, it works!

    Danke schön!

    Thanks skimask!
    Sylvio,

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Usart with Darrel Instant Interrupt
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 17th February 2008, 00:09
  3. Help with Analog Interrupt
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 18:14
  4. Replies: 1
    Last Post: - 2nd November 2006, 23:24
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

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