test3_review_sum04

test3_review_sum04 - Test #3 Review Summer `04 Topics: 1....

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

View Full Document Right Arrow Icon
Test #3 Review – Summer ‘04 Topics: PIC Reset Actions CMOS Power consumption Watchdog Timer Sleep Mode Parallel Port Usage LED/Switch IO Asynchronous Serial IO Communication Interrupt structure on the PIC18 1. Write C code that detects if a power-up or MCLR reset occurs. 2. What location is executed on reset? 3. Name 4 sources of reset on the PIC18. 4. Draw a schematic that connects a reset switch to the PIC18. 5. Configure PORTB so that the upper four bits are inputs, the lower 4 bits are outputs. 6. What is the watchdog timer? Why is it useful? 7. How do you prevent the watchdog timer from going off? 8. How does the PIC enter sleep mode? 9. What can wake the PIC from sleep mode? 10. Assume a PIC18 is connected with a low-true pushbutton switch on RB1, and an LED output on RB0. Write C code that toggles between flashing the LED rapidly versus flashing the LED slowly for each press and release of the pushbutton.
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.

This note was uploaded on 03/21/2012 for the course ECE 3724 taught by Professor Bloom during the Spring '12 term at University of Florida.

Page1 / 2

test3_review_sum04 - Test #3 Review Summer `04 Topics: 1....

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