Arduino, esp-01 and display 16x2

Juraj:
you combined an Arduino sketch with an esp sketch?

Being someone that uses Arduino libraries all the time on the ESP8266 I can tell that's normally not an issue.