18f2321 rotate file and clrf PORTS

Discussion in 'Embedded Systems and Microcontrollers' started by Dodgydave, Jul 21, 2013.

  1. Dodgydave

    Thread Starter Distinguished Member

    Jun 22, 2012
    4,969
    744
    Got this pic 18f2321,

    and what a pain it is!


    how do you rotate the file to move each bit along to the next ,(Knightrider leds)

    tried rrcf, tried rrncf, rlcf, rlncf , none will move the led along it just goes out?
     
    Last edited: Jul 21, 2013
  2. Dodgydave

    Thread Starter Distinguished Member

    Jun 22, 2012
    4,969
    744
    OOOPs spoke too soon sorted it , i had not set the adcon1 files


    Doh!
     
Loading...