Jump to content

ColinH

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About ColinH

  • Rank
    Newbrie
  1. Using IDE 7.01 on Windows 7, using selected target PIC16F723 This is the simple C source ---- #include <system.h> #pragma CLOCK_FREQ 16000000 #ifdef _PIC16 #pragma DATA _CONFIG1, _DEBUG_ON & _PLL_EN & _BORV_2_5 & _BOR_OFF & _CP_OFF & _MCLR_EN & _PWRTE_ON & _WDT_OFF & _INTOSCIO #pragma DATA _CONFIG2, _VCAP_DIS #endif void main() { ansela=0; // Set digital mode for all Port A lines adcon0=0; // Disable all AD Conversion adcon1=0; // cpscon0=0;// Disable capacitive sensing cpscon1=0; sspcon=0; // Disable serial port SPI trisa=0b11000000;
×
×
  • Create New...