print("This project will show diplay in OLED")
print("Date: 22/11/2023")
print('Created by AHH')
#Remarks: 4 STEPS to do using OLED Display
#1. Import OLED library & I2C library
#2. Declare the I2C Pin --> scl & sda
#3. Create an object name for your OLED display
#4. You can use your OLED display
import oled_library
from machine import Pin, SoftI2C
#Pin declaration
Pin_scl_sda = SoftI2C (scl=Pin (22), sda=Pin (21))
#Creat an object name using OOP (Object Oriented Programming)
#library name.class name
Juwita = oled_library.SSD1306_I2C(width=128, height=64, i2c=Pin_scl_sda)
#Let's start using OLED
Juwita.fill(1) # 0 - for BLACK, 1 for WHITE
Juwita.text ("I Do Miss You...",0,10,0)
Juwita.text ("(. _ . 3)",10,30,0)
Juwita.show() #A must!