12 Replies Latest reply on Oct 28, 2013 5:42 AM by user_1377889

    LED ON-OFF USING SINGAL CAPSENSE SWITCH.

    pramod.sherkar

      Greetings to all,

         

       one switch control the led On at time one press
      next press the LED will OFF
      please help how can i create it.

         

      switch is push type of switch.

         

      following is the module to be modify.

         

      // input to display is switch press.

         

      void display(BYTE switsh_state)
      {

         

      LED( (switch_state & 0x01) );

         

      }

         

      Pramod.