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.
if P0 of slave get 0x00 below code ll excute
case 1:
parallel=0x01;
leone=0x01;
letwo=0x00;
break;
if P0 of slave again get 0x00 means it ll excute [CODE]
parallel=0x00;
all input and output combination already i posted please go through previous
how to wright a program for above...
128 switch key is connected to master mcu, if key 1 pressed master mcu giving input data to slave mcu, if slave mcu get input data 0x00(P0) means it will generate P1=0x01,P2=0x01 and P3=0x00 when key 1 pressed again slave mcu get the input data(0x00) means P1=0x00 will generate.. if key 2...
ya i used P1,P2,P3 for slave output, i didnt connect led directly port pin P1,P2,P3 connected D type latch after i connected 128 led's, master mcu will generate 0x00 to 0x7F, slave get input from master 0x00 to 0x7F absolutely correct.
master mcu giving input data to slave mcu, if slave mcu get...
ya.. master mcu giving input data to slave mcu, if slave mcu get input data 0x00(P0) means it will generate P1=0x01,P2=0x01 and P3=0x00 when slave mcu get 0x00 input data means P1,P2,P3=0x00 will generate.. did you got my concept?
- - - Updated - - -
i have attached my circuit in jpeg format
ya.. thats not a problem. master uc given input data(hex code format) instead of key, in slave uc get the input from master uc, if get (0x00) means port 1 will generate 0x01,at the same time P2=0x01 and P3=0x00.when slave uc again get the data(0x00) means uc will generate P1=0x00 only
- - -...
sir i am doing inter telecom project using 89c52, in that 100 station individual call,
group call,all call and random call. i was designed 100 inputs given using
matrix keypad(P1 and P3) to master microcontroller,
if we pressed key 1 means uc will generate 0x00 hex code in port0,
key 2 will...
sir i want program in embedded c only.. need a program for input data hex code format instead of key pressing,
if we given input dat hex code format the corresponding led will glow..
0x01 means first led will glow keep on continuous and again given the same input led will off,
0x02 means...
thank you sir, 8 led(port 1) controlled by 8 switches(port0) respectively if key one pressed means first led will glow, pressed again led off when second key is pressed second led only will off.. help me
thats nice... but i want a program for input side only one switch is connected(i want input is given hex code format), output side 8 led connected if key is pressed 8 led will glow keep on continuous, when key is pressed again 8 led will turn off.. for example
#include<reg52.h>
#define input...
Hello,
I have to do a key is pressed once led will start to glow and continuously running the codition,when a key is pressed again led will off condition, how to write a program for 89c52 no experience with 8051 need help.
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.