USBSERVICE & timer


+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2006
    Posts
    14

    Default USBSERVICE & timer

    Hi,

    I'm using pic18f2455 to communicate with a PC and send result of a test the pic does, the test take a while, so I can't call the USBSRVICE offten enough,
    I tought to use a timer to run the usbservice routine but as i read in the picbasic pro manual, the interrupt service routine will not be exeecute until the picbasic command will be over ( and this may take to long), do you have and idea how to do this ? I thoght to use interrupt service routine writen in asmbelr, but i'm not sure if this will be execute immdiatly, or only after the previous command ends.

    Thanks
    Shamir

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Thumbs up

    Simple solution, Darrel Taylor instant interrupt for 18Fs.
    http://www.picbasic.co.uk/forum/showthread.php?t=3251

    pay attention to post 30 and later. Familiar doesn't it?

    Work really well for me.
    Last edited by mister_e; - 3rd August 2006 at 18:49.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Elapsed Timer Demo
    By Darrel Taylor in forum Code Examples
    Replies: 111
    Last Post: - 29th October 2012, 18:39
  2. High Resolution Timer & Speed Calculator
    By WOZZY-2010 in forum Code Examples
    Replies: 4
    Last Post: - 7th February 2010, 17:45
  3. Timer + rc5
    By naga in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 19th November 2009, 08:56
  4. Timer interrupt frequency
    By Samoele in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 18th January 2009, 00:49
  5. timer interupt help 16f73
    By EDWARD in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 3rd July 2005, 09:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts