Jump to content

jakonil

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About jakonil

  • Rank
    Newbrie
  1. hello, i'm new on this forum, but i often use Sourceboost .Until now, i have always resolved my projects. But, in this case, i do not find the mistake. In the following code, porta.4 never change: #include <system.h> //Target PIC16F882 configuration word #pragma DATA _CONFIG1, _INTRC_OSC_NOCLKOUT & _MCLRE_ON & _WDT_ON & _PWRTE_OFF & _BOR_OFF & _CPD_OFF & _CP_OFF & _IESO_OFF & _FCMEN_OFF & _LVP_OFF & _DEBUG_OFF #pragma DATA _CONFIG2, _WRT_OFF & _BOR21V //Set clock frequency #pragma CLOCK_FREQ 4000000 #define OPTIONVAL 0b100
×
×
  • Create New...