sherluck007
Newbie level 5
everyone , iam d.a.e student and i prepared for the final year small project called lcd interfacing with pic microcontroller i have write the program and tested in proteus the program work fine but when iam burn it to microcontroller the lcd not show anything can you please check my code and tell me where iam mistaken i use mikroc for pic for program plz replay fast thanxx....
here is my program...
here is my program...
Code C - [expand] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 // LCD module baðlantýlarý sbit LCD_RS at RB2_bit; sbit LCD_EN at RB3_bit; sbit LCD_D4 at RB4_bit; sbit LCD_D5 at RB5_bit; sbit LCD_D6 at RB6_bit; sbit LCD_D7 at RB7_bit; sbit LCD_RS_Direction at TRISB2_bit; sbit LCD_EN_Direction at TRISB3_bit; sbit LCD_D4_Direction at TRISB4_bit; sbit LCD_D5_Direction at TRISB5_bit; sbit LCD_D6_Direction at TRISB6_bit; sbit LCD_D7_Direction at TRISB7_bit; // End LCD module baðlantýlarý char i; // Loop variable void Move_Delay() { // Function used for text moving Delay_ms(50); // You can change the moving speed here } void main(){ ADCON1 |= 0x0F; Lcd_Init(); Lcd_Cmd(_LCD_CURSOR_OFF); Lcd_Cmd(_LCD_CLEAR); Lcd_Out(1, 16, "WELCOME TO"); Lcd_Out(2, 16, "MY PROJECT");
Last edited by a moderator: