| Contents | Index |
Embedded Coder/ Embedded Targets/ Processors/ Texas Instruments C6000/ C6713 DSK
Adding the C6713 DSK LED block to your Simulink block diagram lets you trigger all four of the user light emitting diodes (LED) on the C6713 DSK. To use the block, send a nonzero real scalar to the block. The C6713 DSK LED block controls all four User LEDs located on the C6713 DSK.
When you add this block to a model, and send a real scalar to the block input, the block sets the LED state based on the input value it receives:
When the block receives an input value equal to 0, the specified LEDs are turned off (disabled), 0000
When the block receives a nonzero input value, the specified LEDs are turned on (enabled), 0001 to 1111
To activate the block, send it an integer in the range 0 to 15. Vectors do not work to activate LEDs; nor do complex numbers as scalars or vectors.
All LEDs maintain their state until they receive an input value that changes the state. Enabled LEDs stay on until the block receives an input value that turns the LEDs off; disabled LEDs stays off until turned on. Resetting the C6713 DSK turns off all User LEDs. By default, the LEDs are turned off when you start an application.

This dialog box does not have any user-selectable options.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |