You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
264 B

  1. #include "driver/gpio.h"
  2. #define GPIO_OUTPUT_IO_RED 3
  3. #define GPIO_OUTPUT_IO_GREEN 4
  4. #define GPIO_OUTPUT_IO_BLUE 5
  5. #define GPIO_OUTPUT_PIN_SEL ((1ULL << GPIO_OUTPUT_IO_GREEN) | (1ULL << GPIO_OUTPUT_IO_BLUE) | (1ULL << GPIO_OUTPUT_IO_RED))
  6. void gpio_rgb_init();