Help in display rpm in lcd

Discussion in 'Embedded Systems and Microcontrollers' started by khwoo, Jun 7, 2009.

  1. khwoo

    Thread Starter New Member

    Jun 7, 2009
    2
    0
    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...
     
  2. khwoo

    Thread Starter New Member

    Jun 7, 2009
    2
    0
    #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
     
Loading...