16F819 PortA as Outputs


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    You beat me to it mackrackit. My response was going to be identical
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

  3. #3
    Join Date
    May 2010
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    OK,
    I aded @ __config _INTRC_OSC_NOCLKOUT to set the PIC for Internal Oscillator allowing
    use of the OSC pins as I/O, but when I compile, the error 44 : symbol not previously defined
    appear.

    Any suggestion?

    thanks,
    Oswaldus

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Try
    _INTRC_IO
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    May 2010
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    mackrackit,

    I Try _INTRC_IO, but I have now: Error 118 Overwriting previous address contents (2007)

    thanks,
    oswaldus

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    That sounds like you did not comment out the config lines in the chips inc file as described in the link.

    Or you could just modify the inc file and not set the config in code space.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    May 2010
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    I comment out the config lines in the chips inc file as described in the link, and Port A works fine.

    Thanks for your help, Kamikaze47 and mackrackit

    Best regards,
    oswaldus

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