subject

Code 1: A red LED is located on port 1 pin 0. A red, green, blue (RGB) LED is connected to port 2 on the Launchpad. The color of the LED can be changed by writing a HIGH or LOW to each LED (red, green, blue). The possible combinations are 000 (OFF) to 111 (WHITE). Write a program that will cycle through the different color combinations of the RGB LED. The program will cycle through the RGB color combinations twice. After the second cycle through the RGB colors, the red LED on port 1 pin 0, and the blue LED will alternate flashing ON/OFF.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 18:30
Ayear in the modern gregorian calendar consists of 365 days. in reality, the earth takes longer to rotate around the sun. to account for the difference in time, every 4 years, a leap year takes place. a leap year is when a year has 366 days: an extra day, february 29th. the requirements for a given year to be a leap year are: the year must be divisible by 4if the year is a century year (1700, 1800, the year must be evenly divisible by 400some example leap years are 1600, 1712, and 2016.write a program that takes in a year and determines whether that year is a leap year.ex: if the input is 1712, the output is: 1712 is a leap year.ex: if the input is 1913, the output is: 1913 is not a leap year.
Answers: 2
question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 09:10
Effective character encoding requires standardized code. compatible browsers. common languages. identical operating systems.
Answers: 1
You know the right answer?
Code 1: A red LED is located on port 1 pin 0. A red, green, blue (RGB) LED is connected to port 2 on...
Questions
question
Mathematics, 20.08.2019 04:30