print("+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=")
print("\n\t\t OLED Display")
print("\n\t\t\tBy:\n")
print("\t[Muhammad Irfan Bin Mohd Fardaus]")
print("\t\t (4/11/2024)\n")
print("+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=")
#library
import SSD1306
from machine import Pin, SoftI2C
#pin declare
oled_pin = SoftI2C(scl=Pin(22), sda=Pin(21))
#object declare
#Name_object = Libraryname.Classname(.......)
oled = SSD1306.SSD1306_I2C(width=128, height=64, i2c=oled_pin)
#para declare
#main program
while True:
oled.fill(1)
oled.text("Hello World", 15, 20, 0) #("text", weight, height, color)
oled.text("UNIKL BMI", 15, 30, 0) #("text", weight, height, color)
oled.show()