Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
-
AuthorPosts
-
FarooghParticipant
Can u tell me how to create a library of 74hc595
FarooghParticipantI do not Know Much 8051 But i tell you how i did id in avr
Suppose this is 16 x 2 Lcd
Address of First box on first Line is 0x80 # # # # # # # # # # # # # # # #
Address of First box on first Line is 0xC0 # # # # # # # # # # # # # # # #
Before Main Function
char colmn[2]={0x80,0xC0};
void SetCursor(uint8_t x,uint8_t y); \ X=Row Y= Colmn
int main()
{
to go Specific Location
SetCursor(4,0); \4th box in first line
SetCursor(4,1); \4th box in second line
}
void SetCursor(uint8_t x,uint8_t y){SendCmd(colmn[y]+x);}FarooghParticipantLm35 is not 12c device use ADC to read the signal and apply formulas to the adc read value then print it to Lcd
FarooghParticipantHi there is Problem in your Code
like following Finction
void lcd_send_string(char* string){while(*string){lcd_data(*string); //Send value of pointer as data to LCDstring++; //Increment string pointer}}use it like thisvoid lcd_send_string(char* string){int i=0;while(string != '