Question: Project Name: - ( 1 quad ) LED _ Strobe _ Left Description: - This program turns all LEDs connected to PORTB
Project Name:quad LEDStrobeLeft
Description: This program turns all LEDs connected to PORTB in the sequence shown below iemathrmRBrightarrow mathrmRBrightarrow mathrmRBrightarrow ldots mathrmRB The sequence continually repeats and there should be a programmable delay in mSec between each LED turning on
Inputs: None
Outputs: outputs on PORTB ie RBrightarrow RBO
Instructions:
Create a programmable delay as a macro:
Eg#define DELAY
Use the left shift operator ie to manipulate the bit pattern to turn on the LEDs.
Add comments to your code marks lost for no comments
Ensure all code is properly indented ie marks lost for no indentation
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
