- This topic has 3 replies, 4 voices, and was last updated 11 years, 3 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
|
Microcontroller › 8051 › voting
// Program to make a voting machine using LCD#include
int j,k;for(j=0;j<=delay_time;j++) for(k=0;k<=1000;k++);}void lcd_cmd(unsigned char cmd_addr) //Function to send command to LCD{
lcd_data_str_pin = cmd_addr;en = 1;rs = 0;rw = 0;delay(1);en = 0;return;}void lcd_data_str(char str[50]) //Function to send string{ int p;for (p=0;str[p]!=’