Lines Matching +full:on +full:- +full:off
4 * SPDX-License-Identifier: Apache-2.0
28 * @brief Run tests on a single LED using the LED API syscalls.
38 LOG_INF("Testing LED %d - %s", led, led_label[led] ? : "no label"); in run_led_test()
40 /* Turn LED on. */ in run_led_test()
46 LOG_INF(" Turned on"); in run_led_test()
49 /* Turn LED off. */ in run_led_test()
55 LOG_INF(" Turned off"); in run_led_test()
72 for (level = MAX_BRIGHTNESS; level >= 0; level--) { in run_led_test()
90 "on: " STRINGIFY(CONFIG_BLINK_DELAY_SHORT) " msec, " in run_led_test()
91 "off: " STRINGIFY(CONFIG_BLINK_DELAY_SHORT) " msec"); in run_led_test()
100 LOG_INF(" Cycle period not supported - " in run_led_test()
101 "on: " STRINGIFY(CONFIG_BLINK_DELAY_LONG) " msec, " in run_led_test()
102 "off: " STRINGIFY(CONFIG_BLINK_DELAY_LONG) " msec"); in run_led_test()
105 "on: " STRINGIFY(CONFIG_BLINK_DELAY_LONG) " msec, " in run_led_test()
106 "off: " STRINGIFY(CONFIG_BLINK_DELAY_LONG) " msec"); in run_led_test()
111 /* Turn LED off. */ in run_led_test()
117 LOG_INF(" Turned off, loop end"); in run_led_test()
127 LOG_ERR("Device %s is not ready", led_pwm->name); in main()
132 LOG_ERR("No LEDs found for %s", led_pwm->name); in main()