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.

Help plz

Status
Not open for further replies.

eng.zooma

Newbie level 5
Newbie level 5
Joined
Dec 9, 2011
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Cairo,Egypt
Activity points
1,381
i want to write a code to get square wave with Delay 1 sec , using timer 1 mode 1 , XTAL 4MHz , on P1.6 . using Asm.
 

Study a book named 8051 by Mazidi..
or online tutorial... anything.... the code you r asking is very simple.. try by yourself
 

i already read it , but the problem that i face is the Number of cycles =333333
 

change the crystal frequency to obtain a rounded value . 12Mhz would be the best .
 

as islurpundalik said : USE a 12Mhz crystal thats all
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top