Tuesday, January 21, 2014

2nd week 1.16.14 Using Digital Inputs with a pushbutton and two pins in microprocessor

Original test will the input.  Adding  4.7k and 10k resistors to Pin 8 will create the output.  When pushing once, pin 6 will turn on. Push again and pin 8 turns on.

Microprocessor connected to both pins 6 and 8.
 
 
Pin 6 and 8 on right side.
A0 for connected to pin 6 for buttonstate.

No comments:

Post a Comment