Please i need help for pic18f4520 ;; please help me


Closed Thread
Results 1 to 2 of 2
  1. #1
    engoneman's Avatar
    engoneman Guest

    Default Please i need help for pic18f4520 ;; please help me

    I am new with microcontroller ; and i start using pic18f4520 and MPLAB program .
    now ; i want to use the internal oscillator of the pic ; what should i do??
    can any one help me with very simple program and valid for MPLAB and HI-TECH compiler .
    let us say that this is the code :
    #include <pic18.h>
    void main ()
    {
    TRISD=0;
    PORTD=255;
    }
    what i have to add to make the internal oscillator working ???
    please help ??

  2. #2
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,614


    Did you find this post helpful? Yes | No

    Default Re: Please i need help for pic18f4520 ;; please help me

    Hi, Engoneman

    i want to use the internal oscillator of the pic ; what should i do??
    The obvious answer is : READ the pic Datasheet, oscillator section - and learn how the oscillator is working ...

    can any one help me with very simple program and valid for MPLAB and HI-TECH compiler
    May be you could find more help aboard the RIGHT forum aka Microchip/MPLAB or Hi-TECH Forum ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Members who have read this thread : 1

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