4 Replies Latest reply on Feb 23, 2013 5:36 AM by pramod.sherkar

    CODE_REPLACEMENT

    pramod.sherkar
      Can i make actve_high setting in LED while placement instead of following code in main.c.  //Set port drive modes for LEDs
         
        PRT0DM0 |= 0b00100010;  //strong on P0[5],P0[1]
         
        PRT0DM1 &=~0b00100010;
         
        PRT1DM0 |= 0b10100100;  //strong on P1[2]
         
        PRT1DM1 &=~0b10100100;
         
          
         
      PRT2DM0 |= 0b10100000;  //strong on P2[5],P2[7]
         
        PRT2DM1 &=~0b10100000;