LED_on
7.2 LED API Reference
LED_off | Turns off specified LED | ||
Function |
| void LED_off( |
|
|
| Uint32 LedNum | |
| ); |
| |
Arguments |
| LedNum | Specifies which LED to be turned off. Can be one of |
|
|
| the following: |
|
|
| - LED_1 |
|
|
| - LED_2 |
|
|
| - LED_3 |
|
|
| - … |
Return Value |
| none |
|
Description |
| Turns off the specified LED. | |
|
| C6711 DSK |
|
-LED_1 = USER_LED1
-LED_2 = USER_LED2
-LED_3 = USER_LED3
-LED_ALL = all user LEDs
Example | If you want to turn off LED # 1 use: |
| LED_off(LED_1); |
LED_on | Turns on specified LED | ||
Function |
| void LED_on( |
|
|
| Uint32 LedNum | |
| ); |
| |
Arguments |
| LedNum | Specifies which LED to be turned on. Can be one of |
|
|
| the following: |
|
|
| - LED_1 |
|
|
| - LED_2 |
|
|
| - LED_3 |
|
|
| - … |
Return Value |
| none |
|
LED API Module |