Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Using a protoboard, connect an LED to pin RB1 on your PIC-WEB board. Be sure to use a current limiting resistor (470) in series

image text in transcribed
2. Using a protoboard, connect an LED to pin RB1 on your PIC-WEB board. Be sure to use a current limiting resistor (470) in series with the LED (see attached PIC-WEB schematic, for proper wiring of the LED). Write a program so that when the on-board button (see attached schematics for details) is pressed and held, the on-board LED (RB4) flashes on and off for 12 second, 5 times, followed by a 1 second off interval, then repeats the cycle. When the on-board button is released, the LED connected to RB1 flashes on and off for 1 second, 3 times, followed by a la second off interval, then repeats the cycle. Both LED's should be off on program start-up. Use the Timer modules (Timero and/or Timer 1) to create the delays. Be sure to use the MPLAB simulator to verify the proper operation of the program. Once you have fully debugged the program, write the code to the PIC-WEB and demonstrate its operation to the instructor by uploading a video to D2L. 2. Using a protoboard, connect an LED to pin RB1 on your PIC-WEB board. Be sure to use a current limiting resistor (470) in series with the LED (see attached PIC-WEB schematic, for proper wiring of the LED). Write a program so that when the on-board button (see attached schematics for details) is pressed and held, the on-board LED (RB4) flashes on and off for 12 second, 5 times, followed by a 1 second off interval, then repeats the cycle. When the on-board button is released, the LED connected to RB1 flashes on and off for 1 second, 3 times, followed by a la second off interval, then repeats the cycle. Both LED's should be off on program start-up. Use the Timer modules (Timero and/or Timer 1) to create the delays. Be sure to use the MPLAB simulator to verify the proper operation of the program. Once you have fully debugged the program, write the code to the PIC-WEB and demonstrate its operation to the instructor by uploading a video to D2L

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

College Physics

Authors: Jerry D. Wilson, Anthony J. Buffa, Bo Lou

7th edition

9780321571113, 321601831, 978-0321601834

More Books

Students also viewed these Accounting questions

Question

What are some of the topics studied?

Answered: 1 week ago