Help in display rpm in lcd

Thread Starter

khwoo

Joined Jun 7, 2009
2
I am using pic16f877a. I am receiving signal from infrared sensor for the rpm. Do i need to choose a pin or port for the signal from the infra red sensor? I am facing problem in programming da code to display rpm in lcd.
I use the ccs compiler. Can anyone help me?
Thanks...
 

Thread Starter

khwoo

Joined Jun 7, 2009
2
#include <16F877A.H>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
#include <lcd.c>
void main(){
lcd_init();
lcd_putc("\fMr Brian is\n");
lcd_putc("very HANDSOME^^");
}

Where and what should i add in to display rpm for the above code?? Anyone
 
Top