pinMode(powerButton, OUTPUT); digitalWrite(powerButton, LOW); //Pull the signal low(GND) to activate the power buttondelay(500); // Wait half a secondpinMode(powerButton, INPUT); // Release the power button... floating
So, the (**) is a 2N1000 transistor ?
and A connects to actual mode button (top pins), that works like 3.3v and when pressed goes to 0v, correct?And (*) can be any NPN transistor like 1N4148? and B is connected to actual powerbutton (bottom pins) connected to collector and top pins to emitter, so that when i set HIGH it's like pressing the button, right?
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16