yanbe / ssd1306-esp-idf-i2c

Sample code for driving 128x64 OLED display (SSD1306 driver) via ESP-IDF's I2C master driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample code creates errors

Patsjemoe opened this issue · comments

hI,
when using the code,
xTaskCreate(&task_ssd1306_display_text, "ssd1306_display_text", 2048,
(void )"Hello world!\nMulitine is OK!\nAnother line", 6, NULL);
following error comes up :
note: expected 'TaskFunction_t {aka void (
)(void )}' but argument is of type 'void ()(const void *)'
static inline IRAM_ATTR BaseType_t xTaskCreate(
Can anyone advise why this error pops up , and how to solve it ?
thanks in advance
best regadrs
Ludo