Editing LED

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 15: Line 15:
 
This is how to connect an LED to a power supply. It does not matter where the resistor goes. But if the direction of the LED is wrong, it will not light up.
 
This is how to connect an LED to a power supply. It does not matter where the resistor goes. But if the direction of the LED is wrong, it will not light up.
  
[[File:Led00.PNG|300px]]
+
[[File:Led00.JPG|300px]]
  
  
 
LED will be on if Pin26 is 3.3V (or ON or High)
 
LED will be on if Pin26 is 3.3V (or ON or High)
  
[[File:Led02.PNG|300px]]
+
[[File:Led02.JPG|300px]]
  
  
 
LED will be on if Pin26 is 0V (or OFF or Low)
 
LED will be on if Pin26 is 0V (or OFF or Low)
  
[[File:Led03.PNG|300px]]
+
[[File:Led03.JPG|300px]]
  
 
= How to control it in MicroPython =
 
= How to control it in MicroPython =

Please note that all contributions to Sketching with Hardware at LMU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see My wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)