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.
unfortunately i have to use Assembly , but thx for your help dude
---------- Post added at 01:18 ---------- Previous post was at 01:17 ----------
@betwixt
hahaha, me to dude
this program have to select and adjust time and date
i set up the time right but i can't do the date thing
any help here
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
INCLUDE 8051.mc
rs EQU p0.0
rw EQU p0.1
e EQU p0.2
MOV R3,#0...
MOV TMOD,#20H
MOV TH1,#-3
MOV SCON,#50H
SETB TR1
up: MOV SBUF,"A"
JNB TI,$
CLR TI
SJMP up
this code is for writting a letter A , compare it with Yours
i am begging at this field , i hope this help you[COLOR="Silver"]
also try >> Mov TH1,#0FDH
thx alot for your replaying , i already know how to make a delay but i can't do it with 1 Sec because the Number of cycles will be =333333 so i couldn't make it
i will download the reference that u suggested , Thanks for U.
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.
i want to write a code to get square wave with Duty cycle 66% , using timer 0 mode 1 , XTAL 4MHz , on P1.6 . using Asm.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.