Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In order to do this: Write a program to output a square wave to turn on the LED connected at pin PL2 . then to
In order to do this: Write a program to output a square wave to turn on the LED connected at pin PL2 . then to make it high PORTL |= B00000100 and delay (1000) and to make it low PORTL &= B11111011 and delay (1000), but my question is how we can get the "PORTL &= B11111011" ? isnt it just flip the number (high) which might be PORTL|=B11111011? but then why is it "PORTL &= B11111011"?
Why we should use the AND not or?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started