PNP transistor


Turn the LED on with this code:

  1. void setup() {                
  2.   pinMode(13, OUTPUT);    
  3. }
  4.  
  5. void loop() {
  6.   digitalWrite(13, HIGH); // Turn on LED
  7.   delay(5000);
  8.   digitalWrite(13, LOW); // Turn off LED
  9.   delay(5000);      
  10. }

2 thoughts on “PNP transistor

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>