CERTIFIED FITNESS TRAINER > Lab Report > Lab Report > CEG 3136 Lab 2: Hardware Interfacing - Keypad Fall 2019 (All)

Lab Report > CEG 3136 Lab 2: Hardware Interfacing - Keypad Fall 2019

Document Content and Description Below

CEG 3136 Lab 2: Hardware Interfacing - Keypad Fall 2019 Students: Purpose | 3 Equipment | 3 Part One: | 3 Problem | 3 Input/Outputs of Problem | 3 Algorithm | 3 Implementation | 8 Te... sting | 8 Part two: | 8 Problem | 8 Input/Outputs of Problem | 8 Algorithm | 9 Implementation | 9 Testing and Validation | 10 Conclusion: | 10 Purpose The purpose of this lab was to introduce the interfacing of the Motorola 9S12DG256 through an implementation of a keypad unit. Equipment -Windows PC -Dragon12 board Part One: Problem The task was to implement KeyPad.asm which would be used to communicate with the touchpad on the Dragon12 board. This code is used to take the inputs done on the touchpad by the user and associate them with a numerical value in ASCII code corresponding to the character pressed. Input/Outputs of Problem The input was the key pressed on the touchpad by the user while the outputs were the corresponding ASCII of the key to be used by the program Algorithm The first function in the algorithm is pollReadKey which is used to check if a key has been pressed or not, which allows the program to check if a key has been pressed without a key necessarily being pressed. This is different from the readKey() function which waits for a key to be pressed, instead this function checks if a key has been pressed, then if pressed it will return the key character and if not it will return NOKEY which has value 0.  [Show More]

Last updated: 2 years ago

Preview 1 out of 10 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$5.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

81
0

Document information


Connected school, study & course


About the document


Uploaded On

Jan 05, 2023

Number of pages

10

Written in

Seller


seller-icon
PAPERS UNLIMITED™

Member since 3 years

509 Documents Sold

Reviews Received
55
20
8
2
8
Additional information

This document has been written for:

Uploaded

Jan 05, 2023

Downloads

 0

Views

 81

Document Keyword Tags

More From PAPERS UNLIMITED™

View all PAPERS UNLIMITED™'s documents »

$5.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·