Searched refs:led_num (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/samples/net/sockets/http_server/src/ |
D | main.c | 29 int led_num; member 34 JSON_OBJ_DESCR_PRIM(struct led_command, led_num, JSON_TOK_NUMBER), 163 LOG_INF("POST request setting LED %d to state %d", cmd.led_num, cmd.led_state); in parse_led_post() 167 led_on(leds_dev, cmd.led_num); in parse_led_post() 169 led_off(leds_dev, cmd.led_num); in parse_led_post()
|
/Zephyr-latest/samples/sensor/grow_r502a/src/ |
D | main.c | 85 const int led_num = 0; in r502a_led() local 100 ret = led_set_color(led_dev, led_num, led_color_a_inst, &led_color); in r502a_led() 106 ret = led_on(led_dev, led_num); in r502a_led()
|