ICP 1 - Gnkhakimova/CS5590-IoT GitHub Wiki
ICP - 1
Blink LEDs
ICP-1 - Source Code
ICP-1 - Bonus - Source Code
Video - ICP - 1
Video - ICP - 1 - Bonus
Objective
Purpose of this ICP was to design and program the circuit:
- Three LEDs
- Green LED always ON
- Button press
- Other two LEDs blink
Steps
- Installed Arduino IDE.
- Design circuit by given diagram.
- Run source code and upload it to Arduino device.
- Modify source code to match ICP requirements.
- Upload code to Arduino chip.
- Press the button to start process.
Source Code
- Initialized input and outputs
- When button is not pressed
- Set LED Green ON, Red Off, White Off
- Button Pressed
- Set Green On, Red On, White off + delay + Green On, Red Off, White On - this part of the code in Loop mode