Running led blink at 64mhz with 18f26k22.


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    29


    Did you find this post helpful? Yes | No

    Default Re: Running led blink at 64mhz with 18f26k22.

    Got it!

    Code:
    define OSC 64
    DEFINE OSCCAL_1K 1
    OSCCON=%01110000
    OSCTUNE=%11000000
    LED    VAR  PORTB.0  
     
    mainloop:
       High LED        
       Pause 500       
       Low LED         
       Pause 500       
       Goto mainloop   
     
       End

  2. #2
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: Running led blink at 64mhz with 18f26k22.

    Great Job!!!
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

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