ANS1 - E C E 4 1 7 5 Q U IZ 2 -1 7 -1 0 (1 o f 2 ) SE V E N...

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

View Full Document Right Arrow Icon
ECE 4175 QUIZ 2-17-10 (1 of 2) High 110 SEVEN PROBLEMS Upper quarter 92 Open book, open notes Median 83 Lower quarter 65 I added 10 points to everyone’s grade. Low 37 1. Consider the schematic of Figure 3-2. When the LED on the Qwik&Low board is turned on, [10%] PORTDbits.RD4 = 0 b 0 0 0 0 0 0 0 1 2. Using the index value, i (already declared as an unsigned char variable), show a for loop that will use the TXascii macro to copy the characters that have just been sent to the Qwik&Low board’s LCD to [15%] QwikBug’s console window. You may assume that the UART has already been initialized with InitTX. for ( i=0 ; i<9 ; i++ ) // This will get nine values: i = 0,. ..,8 { TXascii(LCDSTRING[i]); } 3. One group in the lab, working on Project Five, found that when they ran their code to step the stepper motor, the stepper never took a single step. After thinking about what could be wrong, they wondered [10%] whether their high-priority interrupt service routine was ever being executed. Without changing their code, what might they have done to answer this question? They could have set a breakpoint within the high-priority interrupt service
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

ANS1 - E C E 4 1 7 5 Q U IZ 2 -1 7 -1 0 (1 o f 2 ) SE V E N...

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

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