Question
Exercise #1 Write a microcontroller code that blinks the red LED and the green LED in sync. The LEDs should be both on, then both
Exercise #1 Write a microcontroller code that blinks the red LED and the green LED in sync. The LEDs should be both on, then both off, in a repeating pattern. The link below shows the pattern. Submit your code and a link to a video that shows your result. http://www.youtube.com/watch?v=CEh-xu6tf30&feature=plcp
Class Exercise #2 Write a microcontroller code that blinks the LEDs out of sync. When the red LED is on, the green LED is off, and vice versa. The link below shows the pattern. Submit your code and a link to a video that shows your result. http://www.youtube.com/watch?v=15Z9XN8oXFo&feature=plcp
Extra Question: Write a program for the microcontroller that flashes the Morse code pattern of a string. The Morse code is a system used to transmit characters and numbers through light or sound signals. Each character is mapped to a series of dots and dashes as shown below. For example, the letter A is (dot-dash), the letter B is (dash-dot-dot-dot) etc. To show a Morse letter on the microcontroller, the LED blinks for a short duration to represent a dot or for a long duration to represent a dash
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