print("OLED display")
print("Date:21/11/2023")
print("Created by SS")
##4Steps to do befor using OLED
#1.import OLED libraries & I2C Librabry.
#2.Declare I2C Pin --> SDL & SDA.
#3.Create an Object name for your OLED screen.
#4.you can use your OLED screen.
import OLED_LIBRARY
from machine import Pin,SoftI2C
Pin_scl_sda = SoftI2C(scl=Pin(22), sda=Pin(21))
#Creat object name using OOP (Object Oriented Programming)
#Library name.class name
skrin = OLED_LIBRARY.SSD1306_I2C(width=128, height=64, i2c=Pin_scl_sda)
#Using OLED
skrin.fill(1) #0 -For black 1- For White
skrin.text('OLED boekk',0,10,0)
skrin.text('Saya suka makan',0,40,0)
skrin.text('Nasi goreng',0,50,0)
skrin.show()#A must to display