Help with Pic-18F23K22


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,714


    Did you find this post helpful? Yes | No

    Default Re: Help with Pic-18F23K22

    if you going to run it a 4mhz

    then
    CONFIG FOSC = INTIO67 instead of CONFIG FOSC = HSMP


    and
    OSCCON =$50

    and
    MainLoop:

    HIGH LED1
    PAUSE 500
    LOW LED1
    PAUSE 500 as dave said

    Goto Mainloop

  2. #2
    Join Date
    Sep 2014
    Posts
    6


    Did you find this post helpful? Yes | No

    Default Re: Help with Pic-18F23K22

    Quote Originally Posted by richard View Post
    if you going to run it a 4mhz

    then
    CONFIG FOSC = INTIO67 instead of CONFIG FOSC = HSMP


    and
    OSCCON =$50

    and
    MainLoop:

    HIGH LED1
    PAUSE 500
    LOW LED1
    PAUSE 500 as dave said

    Goto Mainloop

    Thank for reply Richard ,

    You are right , i used the default configuration and the led blink now , but as you can see this is a simple example. I want to use an external Xtal osc at 20 Mhz and from this point tried read the datasheet again for get the device working with external Xtal and frequency that i need .

    Thanks a lot ,

    Regards

    Alex

Similar Threads

  1. HSERIN2 Problem on 18F23k22
    By ethobias in forum Serial
    Replies: 3
    Last Post: - 26th May 2011, 00:48
  2. High Speed Serial Comm PC - PIC and PIC - PIC
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 16th January 2007, 22:55

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