16f84A to 16f628A


Results 1 to 9 of 9

Threaded View

  1. #7
    Join Date
    Sep 2009
    Posts
    23


    Did you find this post helpful? Yes | No

    Default Re: 16f84A to 16f628A

    grahamg Yes I added cmcon = 7

    *******************************
    @ device PIC16F628A, HS_OSC, WDT_OFF, PWRT_ON, PROTECT_OFF
    TrisA = %00000000
    PortA = %00000000
    TrisB = %00000001
    PortB = %00000000

    cmcon = 7
    Digit Var Byte
    Time Var Word
    Tcon Con 245
    Time = Tcon
    Imp Var Word
    Imp = 0
    RPM Var Word
    RPM = 0
    OPTION_REG = %10000011
    TMR0=5
    INTCON = %10110000
    Pause 1000

    EEPROM 80,[83,46,84,32,69,108,101,99,116,114,111,110,105,99,1 15]
    ' ------------------------- [ ---------- ] -------------------------


    Last edited by dovegroup; - 27th June 2012 at 16:53.

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