Make Kazus.info Your Home Page  |  Add to favorites Guest (Login) Russian version  |  Datasheets  
KAZUS.INFO - Datasheets, Electronic circuits, Repair manuals, Electronic compoinents & Forums.    
     

programming the 8051 uC, how to flashing the led

  
Example: pic16f84

programming the 8051 uC, how to flashing the led
View previous topic :: View next topic
 
Post new topic   Reply to topic    Electronics Forum Index -> Microcontrollers, ADC, Memory and others
Author Message
Jim
Guest





PostPosted: 26/02/2006 11:12 am    Post subject: programming the 8051 uC, how to flashing the led Reply with quote

can any one help me please??

i am new with assembly of 8051 microcontrollers and i need to write a program to make the led (( light emitting diode )) flashing every 1s!!! ???

if any one can do it with assembly or c++ please help me??
Back to top
chipprocessor
Newbie
Newbie


Joined: May 31, 2006
Posts: 1

PostPosted: 31/05/2006 11:04 am    Post subject: Reply with quote

books online, yes i have but it written by vietnamese
Back to top
View users profile Send email Yahoo Messenger
Guest






PostPosted: 15/06/2006 3:15 pm    Post subject: Reply with quote

you can send to me ?
my email :nguyenvandai@gmail.com
Back to top
chỉppocessor
Guest





PostPosted: 16/06/2006 3:00 pm    Post subject: I'm sorry Reply with quote

It's written by vietnamese but is a book, not ebook.
I will find for you ebook earnly
Back to top
Guest






PostPosted: 16/06/2006 3:01 pm    Post subject: Reply with quote

ftp://100pass.com:100pass.com@61.129.70.184/%c8%cf%d6%a4%bf%bc%ca%d4_%d7%ca%c1%cf%bc%af/
you can find in here, but not really have it
Back to top
syraxxl
Newbie
Newbie


Joined: Oct 30, 2007
Posts: 1

PostPosted: 30/10/2007 6:25 pm    Post subject: Reply with quote

-- this is a keil C code
-- xtall 12Mhz
-- is not a perfect 1 sek

#include <reg52.h>
#define ON 1
#define OFF 0
sbit LED = P2^0;
void del_msec(unsigned int msec)
{
unsigned int x, y;
for(x = 0; x<msec; x++)
{
for(y=0; y<120; y++);
}
}
void port_init(void)
{
LED = OFF; //define like output
}
void main(void)
{
while(1){
LED = ON;
del_msec(1000);
LED = OFF;
del_msec(1000);
}
}

i hope this is usefull for you icon_smile.gif)
Back to top
View users profile
ELICOCO
Member


Joined: Jun 26, 2008
Posts: 56

PostPosted: 03/07/2008 4:11 am    Post subject: may be it is useful for you Reply with quote

5082-7663-EH000 5082-7663 datasheet:
http://www.chinaicmart.com/series-508/5082-7663.html

The 7.6 mm (0.3 inch) and 10. mm (0.43 inch) LED seven segment displays are designed for
viewing distances up to 3 metres 10 feet) and 5 metres (16 feet). These devices use an industry
standard size package and pinouts. All devices are availableas either common anode common cathode
Back to top
View users profile
Post new topic   Reply to topic    Electronics Forum Index -> Microcontrollers, ADC, Memory and others All times are GMT + 3 Hours
Page 1 of 1

Valid HTML 4.01 Transitional Valid CSS!Circuits Circuits Circuits Circuits Circuits Circuits
 © KAZUS.INFO - Electronic portal 2003-2010