ANS2 - E C E 4 1 7 5 Q U IZ 1 1 -4 -0 9 (1 o f 2 ) FIV E P...

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

View Full Document Right Arrow Icon
ECE 4175 QUIZ 11-4-09 (1 of 2) High 110 FIVE PROBLEMS Upper quarter 84 Open book, open notes Median 75 Lower quarter 53 I added 10 points to everyone’s grade. Low 21 1. Assume that you have just read the potentiometer on the Qwik&Low board into the eight-bit register, ADRESH. Show the C code to make an unsigned char variable, RANGE, take on values from 0 to 7 [15%] (for equal angular increments) as the pot is rotated from full CCW to full CW. RANGE = ADRESH >> 5; 2. Create a constant string called MyChar that can be sent to the LCD display of your Q&L development board using the DisplayC function so as to create the following user-defined character that can be [20%] displayed via ASCII code 0x01. ooooo ..o. . ..... const rom char MyChar[] = {0x48,0x9F,0x84,0x9F,0x80,0x80,0x80,0x80,0x80,0x00}; 3.a. In the process of reading back the silicon serial number from the SSN chip, how does the PIC18LF4321 chip tell the SSN chip that it is time to emit the next bit of the serial number? The 4321 chip drives the I/O line low and then immediately releases the line. The
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

ANS2 - E C E 4 1 7 5 Q U IZ 1 1 -4 -0 9 (1 o f 2 ) FIV E P...

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