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.
when the program exits from isr last scanning status retained ,to avoid that JNB instructions are used. remove that lines and run your program to check the effect. I have stopped the main program using 'sjmp $'. you can remove that and enter your program loop there. then you have to use some...
well,first check the values of r6 and r7. after two key press you have the values in the corresponding registers. where did you add the lines to output it to P1?. i didn't wrote that in my code.
Check th voltage on Vref/2 pin ,you should make it 1.28V to get exact temperature. Or you can apply correction on software side according to your reference.
set some levels in between 0 an 1024. then compare the read value with these levels and assign values to variable b. for example if you want 10 different speeds as in your program one level should be of size 93 (1024/11) and they are 0-93, 93-186, 186-279 etc. Now get the current ADC reading...
Please don't make multiple threads for one problem. Check the below code and edit it as per your requirement. When you are asking a help please make your side clear and post necessary documents regarding the project.
ORG 00H
SJMP MAIN
ORG 30H
MAIN:
/* MOV...
i must ask, what are you trying to do?. why are you using the interrupt pin??. i have edited the keyboard scanning program. Please note the changes and edit as per your requirement.
ORG 0
LJMP MAIN
ORG 03H
ACALL SCAN
RETI...
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.