Lines Matching +full:gpio +full:- +full:leds
4 * SPDX-License-Identifier: Apache-2.0
11 * level shifter (preferred) or pull-up resistors are needed.
12 * Make sure the pins are 5V tolerant if using pull-up
16 * Protect your eyes and do not look directly into those LEDs.
24 #include <zephyr/drivers/gpio.h>
47 /* Number of LEDS linked together */
71 int leds = 0; in main() local
75 printk("GPIO device %s is not ready!\n", gpio_dev->name); in main()
79 /* Setup GPIO output */ in main()
93 for (leds = 0; leds < NUM_LEDS; leds++) { in main()
94 send_rgb(gpio_dev, rgb[(idx + leds) % NUM_RGB]); in main()
97 /* If there are more LEDs linked together, in main()