Input using logic switches - PowerPoint PPT Presentation

Loading...

PPT – Input using logic switches PowerPoint presentation | free to view - id: 27537f-ZDc1Z



Loading


The Adobe Flash plugin is needed to view this content

Get the plugin now

View by Category
About This Presentation
Title:

Input using logic switches

Description:

Dr. Hoganson. CSIS 4381. Input using logic switches. In this project, we will use port a as both input and output, by connecting ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 8
Provided by: kennesawst
Category:
Tags: input | logic | switches | use | using

less

Write a Comment
User Comments (0)
Transcript and Presenter's Notes

Title: Input using logic switches


1
Input using logic switches
In this project, we will use port a as both input
and output, by connecting three input bits to
logic switches, and connecting three output bits
to LEDs. Your assignment will be to extend an
example program. Port_a bits 4,5,6 for output,
will be wired to LEDs (as before). Port_a bits
0,1,2 for input, will be wired to three of the
0-1 logic switches on the IDL-800.
2
(No Transcript)
3
You may choose to use SW0-2
4
Example inputtst.asm
5
Example cont.
6
Example cont.
7
Your Assignment
  • Lab Preparation
  • Create and test the inputtst.asm program on the
    wookie simulator.
  • Modify your program, so that input PA_0 controls
    PA_4 output differently instead of determining
    whether PA_4 will be on or not, it will determine
    how fast PA_4 flashes. 0-slow, 1-fast. The
    other inputs/outputs can work to echo the state
    of the switches without flashing.
  • Test your program on the wookie.
  • Modify your program to work on the
    68HC11/Microstamp.
  • Hands-On portion next Monday
  • Wire your input switches, assembly, download, and
    test/debug your program from step 4 on the
    MicroStamp.
  • Demonstrate your working program to your
    instructor.
About PowerShow.com