Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Serial Communication Interrupt in PIC Basic Pro

Status
Not open for further replies.

themaccabee

Full Member level 4
Joined
Apr 1, 2007
Messages
201
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,298
Activity points
3,003
Hello
Im buliding a robot which has an option to be controlled from the PC to which it is serially connected.
My Aim is like this
The robo should follw a default routine normally, but whenever a interrupt is send from the PC..It should jump to another subroutine which gives the control to the PC user..
Im using PIC Basic Pro v 2.46 and PIC16F877A .
Can any one tell me how to implement this "Interrupt from PC Jump to another sub routine""part using PIC basic or thru anyother means?????
 

interupt pins are specified in the headers within picbasic folder
and there is heeps of examples of this online

you need to add an interrupt handler so that
when the event on say port b0 pin happens this routine runs
and handles the events or structures of events to be processed on int
you also want to think about disable and enable interrupt so as to task other events within interrupted events or not...


you can also look thru the picbasic support list's posts and sources
by downloading them
and doing searches

use google look for this string

picbasic + pro + sources -- !
 

any one has the code of this ???????????????
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top