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.
Latest small robots have microcontroller as brain where program are stored. And devices are attached to it to perform some action. Program are so written that it regularly trace device's statistics by reading feedback from sensors attached to the devices. Then based on feedback data, it take...
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 ...
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.
Read these books
1. Test Your C Skills by yashwant kanetkar
2. A text book of small c program by Dr. ravi p reddy ( my favorite)
3. C programming by Dennis Ritchie
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.