/*#include <main.h>*/
#include <16f877.h>
#fuses XT,NOWDT,NOPROTECT,NOBROWNOUT,NOLVP,NOPUT,NOWRT,NODEBUG,NOCPD
#use delay (clock=4000000)
#include <string.h>
#use fast_io(b)
#define use_portb_lcd TRUE
#include <lcd2.c>
char z;
float y;
int x;
void main()
{
setup_psp (PSP_DISABLED);
setup_timer_1(T1_DISABLED);
setup_timer_2(T2_DISABLED,0,1);
setup_adc_ports(NO_ANALOGS);
setup_adc(ADC_OFF);
setup_CCP1(CCP_OFF);
setup_CCP2(CCP_OFF);
set_tris_b(0X00);
lcd_init();
x=10,
y=32.6;
/*set_tris_c(0x00);*/
set_tris_c(0x00);
/*output_c(0x00);*/
printf(lcd_putc,"16f877");
output_high(pin_c2);
output_high(pin_c3);
output_high(pin_c4);
output_high(pin_c5);
while(1)
{
printf(lcd_putc,"\nDeneme");
output_high(pin_c5);
delay_ms(500);
output_low(pin_c5);
delay_ms(500);
}
}