Todas as mensagens

holla2040 2018-01-20 18:09:24
1
Recomendações
Comentários (0)

Top reviewers que você pode gostar:

viewegu I tried the ESP32 Webradio, and I failed to get the OLED working. I needed to add a reset for the OLED, then it worked. // Heitec WIFI-Kit is correct SDA 4, SCL 15, RST 16 (reset pulse low, must be high for operation) #define I2C_EXAMPLE_MASTER_SCL_IO 15 /*!< gpio number for I2C master clock *///////////// #define I2C_EXAMPLE_MASTER_SDA_IO 4 /*!< gpio number for I2C master data *////////////// #define OLED_RESET_GPIO 16 /*!< Reset * void reset_oled() { gpio_set_direction(OLED_RESET_GPIO, GPIO_MODE_DEF_OUTPUT ); gpio_set_level(OLED_RESET_GPIO, 1); vTaskDelay(50/portTICK_RATE_MS); gpio_set_level(OLED_RESET_GPIO, 0); vTaskDelay(50/portTICK_RATE_MS); gpio_set_level(OLED_RESET_GPIO, 1); vTaskDelay(50/portTICK_RATE_MS); }

2017-12-10 04:02:38 Útil (3)
Enviar
respostas (3)