wonho-maker / Adafruit_SH1106

Adafruit graphic library for SH1106 dirver lcds.
Other
162 stars 93 forks source link

STM32 board family support #15

Open hameed-maleki opened 2 years ago

hameed-maleki commented 2 years ago

hello i need use sh1106 OLED 1.3 DISPLAY to stm32 in ardunio ide when try upload code to my board i have this error any one can help me>?

`

Arduino: 1.8.16 (Windows 10), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), STM32duino bootloader, 72Mhz (Normal), Smallest (default)"

C:\Users\hamed\Documents\Arduino\libraries\Adafruit_SH1106-master\Adafruit_SH1106.cpp:40:24: fatal error: util/delay.h: No such file or directory

include <util/delay.h>

exit status 1

Error compiling for board Generic STM32F103C series.

This report would have more information with "Show verbose output during compilation"`

`

albertomercurio commented 2 years ago

I have also this problem.