To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates creating a LED sequence in LabWindows/CVI.
Description
This example has 3 sequences and runs them repeatedly. The first sequences moves through each LED, turning it on. The second sequence moves through each LED, turning it off. The third sequences alternates between two LED patterns. Control arrays are used to set which LEDs are controlled in each sequence. A timer is used to step through each sequence. The speed of the sequence can be controlled by the user. The color is also changeable. This example can be expanded to control actual LEDs using serial communication with a microcontroller or an Arduino, for example.
Requirements
Software
Steps to Implement or Execute Code
Additional Information or References
User Interface
**This document has been updated to meet the current required format for the NI Code Exchange. For more details visit this discussion thread**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.