frequency meter from 16f84a to 16f88


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302

    Default frequency meter from 16f84a to 16f88

    I have a code for pic16f84a (frequency meter) that work with the hardware below and i want to change for 16f88.
    But that not work.

    Code:
    '*************************** HARDWARE ***********************************
    '                       	 	 _____________
    '                   	 		-| RA2  \/   RA1 |-	    LCD 04 RS       
    '    controle mesure   	 		-| RA3       RA0 |-	    LCD 06 E
    '      entree mesure    		-| RA4      OSC1 |-	    4 Mhz
    '         + 5 Volts     		-| MCLR     OSC2 |- 	4 MHz
    '             MASSE     		-| GND       VCC |- 	+ 5 Volts
    '                       		-| RB0       RB7 |- 	LCD 14 DATA
    '       PLUS BOUTON     		-| RB1       RB6 |- 	LCD 13 DATA
    '      MOINS BOUTON     		-| RB2       RB5 |- 	LCD 12 DATA
    '       MENU BOUTON     		-| RB3       RB4 |- 	LCD 11 DATA
    
    'I have this but not work
    
    CMCON = 7                       'PortA = digital I/O    
    ANSEL = %00000100               'Will set RA2 as analog and all others as digital     
    ADCON0 = %11100001	            'Configure and turn on A/D Module
    ADCON1 = %00000010 	            'Set PORTA analog and RIGHT justify result

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Hi Savnik,

    Post the rest of the code.


    -----------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sayzer
    Hi Savnik,

    Post the rest of the code.


    -----------------------------
    i solve the problem
    that is with LCD

Similar Threads

  1. Code works on 16F84A but not on 16F88?
    By pharaohamps in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th November 2009, 18:29
  2. HPWM command and oscillator frequency
    By RussMartin in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 8th March 2009, 22:41
  3. PULSIN for frequency meter?
    By PICante in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 11th November 2008, 13:07
  4. frequency meter in PBP
    By savnik in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 13th June 2007, 06:34
  5. inaccurate frequency using TMR1 PI18F452
    By nkarpovich in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 14th October 2006, 16:22

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts