Push button LED circuit setup

For this exercise, we will need:

  • 4-pin push button
  • Male-to-male jumper wires
  • Half-size breadboard
  • LED
  • 470Ω resistor
Push button LED circuit setup

Power off the board and attach components to BeagleBone as shown in the preceding diagram.

Circuit analysis

This circuit is a combination of a push button circuit and the blinking LED circuit we studied earlier. P9_3, push-button and P8_16 create a push button input circuit. P8_10, LED and P8_1 create LED output circuit. Both circuits are independent. Our program listens to input circuit and responds on the output circuit.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.199.184