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.

Timer based interrupt in PicBasic Pro

Status
Not open for further replies.

yousafzai82

Member level 4
Joined
Jan 20, 2010
Messages
77
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Pakistan
Activity points
1,844
Dear All

I am really stuck how to create timer based interrupt in a PicBasic Pro code. But i don't know how to set internal timer for this sms. i don't want to use delays. Can i create two sessions running at a time along with the main program. Or i will have to use external timers.... I am using 16f88..
the subroutine is ..

ON INTERRUPT GoTo myint
INTCON = %10010000
Disable
myint:
Pause 100
SerOut2 Tx,813,10,["AT",13]
Pause 100
SerOut2 Tx,813,10,["AT+CMGF=1",13]
Pause 100
SerOut2 Tx,813,10,["AT+CMGS................................
.............................
Resume
Enable

Zahoor Ahmad

Added after 41 minutes:

It is urgent please help me...
 

Hello yousafzai82,

Go to www.picbasic.co.uk and look at Darrel Taylors "Instant Interupts". His program allows you to have multiple interupts running in your program. You can also search the
forum for answers to your questions on regular interupts.

HTH,

BobK
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top