PIC18 Hi-Tech C first time - Question

Discussion in 'Programmer's Corner' started by Shreder001, Aug 9, 2009.

  1. Shreder001

    Thread Starter Member

    Mar 7, 2009
    22
    0
    I am programing a PIC18F2431 with the Hi-Tech C compililer and have a question. I want to use the internal oscillator with RA6 & RA7 as I/O. I used what was on the Pic's datasheet, and INTIO2 was what it said to use, but when I build, it does not recognize INTIO2. What can I use to configure the oscillator the way I want it? Thanks!!!
     
  2. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    It looks to me as if for the PIC18F2431, Hi-Tech uses the variable name RCIO rather than INTIO2 as described in the data sheet.
    Take a look at Appendix D of the manual (page 494)
     
  3. Shreder001

    Thread Starter Member

    Mar 7, 2009
    22
    0
    Thanks!!!! :D
     
Loading...