Question: b. You will connect one ground pin from your microcontroller and the voltage source to the breadboard (this allows the voltage source and the microcontroller


b. You will connect one ground pin from your microcontroller and the voltage source to the breadboard (this allows the voltage source and the microcontroller to share a common ground). c. Read over the datasheets for the ten LED bar graph and bar resistor to determine how to connect the LEDs to the microcontroller; you will need to decide which GPIO pins to use (choose them carefully). You will implement a 'sinking configuration' (i.e. the microcontroller is sinking current instead of supplying it). When connecting the LED display, use an active-low configuration (0 [low] means active [LED on], 1 [high] means inactive [LED off]). d. Use three of the colored push-buttons supplied in your lab kit to control the counter. Green for start, yellow for pause, and red for reset. Carefully select GPIO pins for reading the state of the buttons. Consider how PUPDR should be configured. e. Draw a schematic diagram of the LEDs, resistors, push-buttons, microcontroller ports, and power sources
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
