Serial interrupt on PicBasic Pro


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Serial interrupt on PicBasic Pro

    Hi,
    I never use ON INTERRUPT myself and I haven't looked very closely at your code yet but the first thing that pops out is RCREG = DISCARD... Why do you write to RCREG?

    If you want to flush it you should read it, ie. DISCARD = RCREG

    /Henrik.

  2. #2
    Join Date
    Feb 2011
    Posts
    4


    Did you find this post helpful? Yes | No

    Default Re: Serial interrupt on PicBasic Pro

    Hi,
    You're right... i want to clean RCREG, so the right command is DISCARD = RCREG..
    I changed this but the problem still happens.

    Thanks

    /Regis

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