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.
Okay but my Question was what what's the programming skill required to implement simple scheduler. I know the interrupt and structure. Is it sufficient to make simple scheduler. What's the skill need to make simple scheduler
Hello everyone
There are two type of interrupt, hardware ans software interrupt. When we have to do any task at any specific time, we use timer interrupts like if we have to do task after 1 second then we will set timer interrupt. interrupt will occur at every 1 second. Hardware interrupt like...
I have read necessary debounce time should be between 20 ms to 60 ms. I am providing 30 ms (30000 Us).
I have added debounce time when Push button pressed So the second program I have written is correct ?
Hello
I have read that whenever we write program for push button we need debounce period. But in this program LED toggle without debounce time
#include <reg51.h>
sbit SW = P2^1; //Connect switch to P2.1
sbit LED = P1^7; //Connect LED...
I posted this thread after doing google search. I visited here **broken link removed** I gone through top 7 link's. and I saw keypad is connected to port P1. If you see post #7 exactly same I was doing there.
I posted complete schematic in post #13. and I was asking to make keypad function in c...
My dear friend, I appreciate help offer by people I also don't have much knowledge of 8051. I was asking where to connect keypad and Lcd to port of 8051.
I wrote the code for Lcd. I was printing message on screen. then I wrote code to display message if the push button press. and wrote...
It would be much appreciate if you will help me with connection because I don't have deep understanding of 8051 architecture. I did google but I did't get which port is suitable for keypad interfacing.
What's the wrong ? I wanted to make function that can return number so I just did google and found the some example. I checked that design that was working fine with the code given in link so I thought design is okay but there is fault in my program. then I wrote routine for keypad. I asked is...
The code I posted was just an example. if you read post#1 there you can see I am having problem with function not port. if you are saying to connect keypad to port P1. i will connect where you will say to connect.
Now the main problem for me is keypad routine.
I have connected matrix keypad 4*4 to port P0 of 8051 and Lcd to port P1 of 8051. I have issues with keypad function only
I have divide code into pieces that's why I am trying to write only keypad routine
My mistake sorry
#include <reg51.h>
#define keyport P0 //keypad...
Hello
I need to display characters on screen using matrix keypad. if i press key on keypad characters should be display on the screen. I wrote code to print characters on screen using keypad but when I press any key program is not showing anything on the screen.
I think there is problem in my...
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.