PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Microchip PIC development boards and accessories
damilare
Posts: 1
Joined: Fri Aug 11, 2017 11:29 am

Re: PIC - PIC Development Board + PIC16F877A (HCDVBD0003)

Post by damilare » Fri Aug 11, 2017 11:34 am

pls i use to program in mickro c which i use with my development board but d program not executing pls help me
here is the program


// LCD module connections
sbit LCD_RS at RE0_bit;
sbit LCD_EN at RE2_bit;
sbit LCD_D4 at RD4_bit;
sbit LCD_D5 at RD5_bit;
sbit LCD_D6 at RD6_bit;
sbit LCD_D7 at RD7_bit;

sbit LCD_RS_Direction at TRISE0_bit;
sbit LCD_EN_Direction at TRISE2_bit;
sbit LCD_D4_Direction at TRISD4_bit;
sbit LCD_D5_Direction at TRISD5_bit;
sbit LCD_D6_Direction at TRISD6_bit;
sbit LCD_D7_Direction at TRISD7_bit;
// End LCD module connections

void main()
{
Lcd_Init(); // Initialize LCD
Lcd_Cmd(_LCD_CLEAR); // Clear display
Lcd_Cmd(_LCD_CURSOR_OFF); // Cursor off
Lcd_Out(1,1,"Hello World"); // Write text'Hello World' in first row
}
pls threat as urgent

Post Reply

Return to “Microchip”