Question
no indication on the display
Hello,
what do I have to change in the code so that I see something on the oled display 0x78?
Maybe someone has a tip for me
Thanks :)
...
#define ssd1306_I2C_Port hi2c2
#define ssd1306_I2C_ADDR 0x78
...
#define ssd1306_WIDTH 128
#define ssd1306_HEIGHT 64
...
I2C_HandleTypeDef hi2c2;
...
int main(){
char myText[] = "Hello ";
HAL_Init();
SystemClock_Config();
MX_GPIO_Init();
MX_FSMC_Init();
MX_I2C2_Init();
MX_QUADSPI_Init();
MX_USART2_UART_Init();
MX_USB_HOST_Init();
ssd1306_Init();
ssd1306_Fill(White);
ssd1306_UpdateScreen();
ssd1306_SetCursor(3, 3);
ssd1306_WriteString(myText, Font_7x10, White);
}
...
