ECET 340
Devry University
All 4 results
Sort by
-
Devry University - ECET 340: LAB#2 Keypad-LCD PROGRAMMING KEYPAD ON TWR-DEV-PERIPH.
- Other • 16 pages • 2021
-
- $13.49
- + learn more
Devry University - ECET 340: LAB#2 Keypad-LCD PROGRAMMING KEYPAD ON TWR-DEV-PERIPH. 
 
do{ 
mSDelay(15); 
PORTA = PORTA | 0x0F; //COLUMNS SET HIGH 
row = PORTA & 0xF0; //READ ROWS 
}while(row != 0x00); //MAKE SURE BUTTON IS NOT 
STILL HELD 
} //CLOSE WHILE(1) 
} //CLOSE MAIN 
/**********************SUBROUTINES***********/ 
void mSDelay(unsigned int itime){ 
unsigned int i; unsigned int j; 
for(i=0;i<itime;i++) 
for(j=0;j<1000;j++); 
} 
Lab Manual for “HCS12 Microcontroller and Embedded S...
-
Devry University - ECET 340: Quiz 1. Questions and Answers.
- Exam (elaborations) • 13 pages • 2021
-
- $10.49
- + learn more
Devry University - ECET 340: Quiz 1. Questions and Answers. 
 
Question 1 
5 / 5 pts 
(TCO 1) A 4 x 5 keypad consists of 
four columns and five rows. 
9 SPST switches. 
20 SPST Normally Closed switches. 
Correct! 
four rows and five columns. 
ECET340 Week 1 lecture on keypad 
Question 2 
0 / 5 pts 
(TCO 1) Which of the following is not an advantage of an LCD compared to an LED display? 
Ease of programming 
Correct Answer 
Limited to display numbers and a few characters 
You Answered 
Ability to...
-
Devry University - ECET 340: Final Review. Questions and Answers.
- Exam (elaborations) • 9 pages • 2021
-
- $10.49
- + learn more
Devry University - ECET 340: Final Review. Questions and Answers. 
 
Question : 
 
 
(TCO 1) A 4 x 5 keypad consists of 
 
 
 
Student Answer:	4 columns and 5 rows. 
 
 
9 SPST switches. 
 
 
20 SPST Normally Closed switches. 
 
 
 
 
 
 
 
 
Question 2 
. 
 
Question : 
 
 
(TCO 1) The first command in the LCD initialization sequence is 
 
 
 
Student Answer:	Data = 0x30, CSB = 0, E = ↓, RS = 1, R/W~ = 0. 
 
 
Data = 0x30, CSB = 0, E = ↓, RS = 0, R/W~ = 1. 
 
 
 
 
 
Data = 0...
-
Devry University - ECET 340: Quizzes 1 - 5. Questions and Answers.
- Exam (elaborations) • 10 pages • 2021
-
- $10.49
- + learn more
Devry University - ECET 340: Quizzes 1 - 5. Questions and Answers. 
 
1. Question : 
(TCO 1) In a typical keypad switch, bouncing occurs for how long? 
Student Answer: 5 to 20 ns 
5 to 20 μs 
5 to 20 ms 
5 to 20 s 
Instructor 
Explanation: 
ECET340 Week 1 lecture on keypad 
Points Received: 5 of 5 
Comments: 
Question 2 
. 
Question : 
(TCO 1) After voltage is applied to an LCD element, what must be done 
first? 
Student Answer: Initialize the LCD 
Blank the LCD display 
Send a message to the L...
Make study stress less painful
Study stress? For sellers on Stuvia, these are actually golden times. KA-CHING! Earn from your study resources too and start uploading now. Discover all about earning on Stuvia