Tools required

Status
Not open for further replies.

rkjsr

Newbie level 2
Joined
Jul 24, 2008
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,288
REQUIREMENTS:

1. Labcenter Electronic's Proteus for simulation of circuit
2. Keil ARM compiler to compile c-program and convert into Hex file
3. ISP programmer
4. Microcontroller 8051( here i m using Atmel AT89xx ), breadboard and electronics components & tools.
 

EXAMPLE 1: LED Blink


C Program compilation using Keil:


-------------------- CODE -------------------------------------
#include<regx51.h>

void delay(unsigned int n)
{
unsigned int i;
for(i=0;i<n;i++);
}



void main()
{
P1_0=0;
while(1)
{
P1_0=~P1_0 ;
delay(1000);

}


}
---------------------------------------------------

Circuit simulation using Proteus:
 

How to upload picture from my PC to post here..?? i can't see picture above
 

C Program compilation using Keil:


Circuit simulation using Proteus:
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…