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.

[SOLVED] Problem in Timer interrupt in 8051 keil c compiler

Status
Not open for further replies.

vinothksr08

Member level 3
Member level 3
Joined
Jun 18, 2013
Messages
66
Helped
7
Reputation
14
Reaction score
7
Trophy points
8
Location
Tamilnadu, India
Visit site
Activity points
367
hai friends,

the program is not working in keil debug..

Code:
#include<reg51.h>
sbit in=P1^1;
void main()
{
TMOD=0x01;
IE=0x82;
TH0=0x00;
TL0=0x00;
TR0=1;
}
void timer0() interrupt 1
{
in=~in;
}

plz help

thanks in advance
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top