All pages: 2 Page: 1 |
All records: 15 |
17.05.05
10:09:01
|
From: John
Subject:
E-mail: john_mail1975j@hotmail.com |
12.05.05
10:38:54
|
From: prawin
Subject: i wants to know about embedded
i wants to know detailed structure about embedded c.
E-mail: prawin_rajah@yahoo.co.in |
27.04.05
07:38:18
|
From: Subbu
Subject: 4 x 4 MATRIX KEYPAD SCANNING ROUTINE IN C
Hi friends,
I am a beginner in the field of Embedded
systems learning Embedded C programming.
Can anyone send me a source code in C for MATRIX keypad scanning
E-mail: reachanuj@rediffmail.com |
24.04.05
21:48:30
|
From: Subbu
Subject: Problem with LCD code
Hi ,
I have written a basic routine for LCD.
It is interfaced to a 8051 Microcontroller.
I am using the SDCC C compiler.
I have written routine based on checking busy flag status.Please find attached the code.
Kindly let me know if there is some flaw bcos though the program is getting compiled,there is no message displayed on the LCD.All the hardware connections are perfect.
Program1.
#include <stdio.h>
#include"at89c55.h"
/************************************************************************************/
#define no_of_char 16
#define LCD_BACKLITE P1_2
#define LCD_RS P1_3
#define LCD_RW P1_4
#define LCD_enable P1_5
#define LCD_status P2_7 // Making use of the busy flag of the LCD for data display
/************************************************************************************/
/*****************************BIT DEFINITIONS****************************************/
bit busy;
void lcd_init(void);
void send_cmd(unsigned char cod);
void data_display(unsigned char dt);
void lcd_ready();
void display_string(unsigned char *str,unsigned char count);
void clear_display();
void main()
{
lcd_init();
LCD_BACKLITE=1;
display_string("Hi Anuj",7);
}
void lcd_init(void)
{
send_cmd(0x38);
send_cmd(0x38);
send_cmd(0x38);
send_cmd(0x0E);
clear_display();
}
void send_cmd(unsigned char cod)
{
lcd_ready();
P2=cod;
LCD_RS=0;
LCD_RW=0;
LCD_enable=1;
LCD_enable=0;
}
void data_display(unsigned char dt)
{
lcd_ready();
P2=0X00;// Configuring P2 as an output port
P2=dt;
LCD_RS=1;
LCD_RW=0;
LCD_enable=1;
LCD_enable=0;
}
void lcd_ready()
{
P2=0XFF; // Configuring P2 as an input port
busy=LCD_status; // Since P2 contains all ones,LCD_STATUS also becomes 1
LCD_RS=0;
LCD_RW=1;
LCD_enable=1;
LCD_enable=0;
do
{;
}
while (busy);
return;
}
void display_string(unsigned char *str,unsigned char count)
{
int i;
for (i=0;i<count;i , str)
{
if (i==no_of_char)
{
send_cmd(0x0C);
}
data_display(*str);
}
}
void clear_display()
{
send_cmd(0x01);
send_cmd(0x02);
}
E-mail: balsub81@hotmail.com |
24.01.05
10:28:51
|
From: B T MORADIA
Subject:
I have special dictionary that may interest you. You may have look t the demo at Dome 1 stall number 3 Gajanann books, at Vanita vishram
E-mail: info@moradiasworld.com |
24.01.05
10:28:01
|
From: B T MORADIA
Subject:
I have special dictionary that may interest you. You may have look t the demo at Dome 1 stall number 3 Gajanann books, at Vanita vishram
E-mail: info@moradiasworld.com |
18.01.05
01:06:23
|
From: John Rose
Subject: Seeking Contractors/Consultants
My name is John Rose and I work for a national recruiting firm specializing in Embedded Software Engineers and ASIC/FPGA Design & Verification Engineers. I am looking for true Road Warriors looking to continue in contract/consulting work. Active or recent security clearance a big plus. Respond to john.rose@magicorp.com.
E-mail: john.rose@magicorp.com |
12.01.05
09:54:29
|
From: Shrisha Prasad R
Subject: Add me into this list
I'd like to be a member of this group
E-mail: shrisha_18@hotmail.com |
08.12.04
12:52:38
|
From: Vijayakannan
Subject: Nice Forum
It's Great to see a Forum Like this. Hope to get answers from all of you. That's it for now.
E-mail: vijay_gct@rediff.com |
22.11.04
10:28:21
|
From: hirak patel
Subject: Embedded system developer from SURAT
i am experianced embedded system developer.
I want to start some work in surat by
collbrating with someone.Any investors are welocme for this.
E-mail: patel_hirak@rediffmail.com |
Page: | 1 | 2 | |