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.
 
 
 
 
 

10 lines
264 B

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