Shamir
- 3rd August 2006, 09:37
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
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