@Radovan-Behýl Please try to study the official Onion Omega2 Documentation carefully.
OLED Expansion
Using the OLED Expansion
OLED Expansion C Library
OLED Expansion Python Module