Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C program ONLY USE WHILE LOOP!! make it a very easy code to follow. HOHMMB OPP 000 Figure 2-7. Bi-Color LED Test Click the New

C program

ONLY USE WHILE LOOP!!

make it a very easy code to follow.

image text in transcribed

image text in transcribed

HOHMMB OPP 000 Figure 2-7. Bi-Color LED Test Click the New Project button. Navigate to... MECH104 youmame folder. Type Bicolor LED as Project Name. When SimpleIDE opens a new project as Bicolor LED, type the following program: Bicolor LED. C Color LED. S include "simpletools.h" // Include simple tools int main() // Main function while(1) high (15); low (14); pause (100); low (15) high(14); pause (100); - ---------------------- 2. Challenge: Build a circuit and make one program for the following tasks: a) Build a circuit for two LEDs and one Bi-color LED to be controlled by Propeller BOE at the same time. b) Turn on the first LED for 0.5 seconds, then off. Wait 1 second, and then turn on the second LED for 1.5 seconds and then off. Wait for 1 second. Then blink both LED's on for second and off for 1 second. Repeat this for three times before continuing to next step c. c) Turn on both LEDs for 1 second. While these two LEDs are on display one color for bi-color LED. Turn off both LEDs for 1 second and display different color for bi-color LED at the same time. After repeating this step c three times, continue to step d. d) Repeat parts b and c indefinitely

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

Oracle 12c SQL

Authors: Joan Casteel

3rd edition

1305251032, 978-1305251038

More Books

Students also viewed these Databases questions