We’ll pin 13 is only going to the switch not the transistor.
Change that to pinMode(c_inPuls,INPUT_PULLUP);
Remove Pin 13 from your breadboard and your code.
We’ll pin 13 is only going to the switch not the transistor.
Change that to pinMode(c_inPuls,INPUT_PULLUP);
Remove Pin 13 from your breadboard and your code.