aLec09_switch_LED - Introduction to Embedded Microcomputer...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to Embedded Microcomputer Systems Lecture 9.1 Jonathan W. Valvano Recap Addition and subtraction set CCR bits Subtraction used for conditional branching Overview Switch interfacing LED interfacing Introduction to Lab 2 Running on the real 9S12 board if-then statements reviewed Place IC chips over the center valley. The five pins in each row are connected The pins on the outer columns are connected The pins on the outer columns are connected The five pins in each row are connected Input Port Computer Output +5V 1k Ω V 1 33 μ F 74LS14 22 Ω +5V 10k Ω Input Pin pressed 0V low released 5V high +5V 10k Ω Input Pin pressed 0V low released 5V high Show actual switch interface and voltages with the DVM
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Introduction to Embedded Microcomputer Systems Lecture 9.2 Jonathan W. Valvano LED interfacing I V 2V 10mA LED brightness = power = V*I Photo: Circuit symbol: LEDs emit light when an electric current passes through them. LEDs have polarity, meaning current must pass from anode to cathode to activate. The anode is labeled a or + , and cathode is labeled
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

aLec09_switch_LED - Introduction to Embedded Microcomputer...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online