from machine import *
from ssd1306 import * # Import SSD1306 OLED display library
print("Hello, Sushant!")
# Initialize I2C communication with the OLED display
i2c = I2C(0, sda=Pin(0), scl=Pin(1), freq=(4000000)) # Set up I2C with pins and frequency
oled = SSD1306_I2C(128, 64, i2c) # Set OLED display size (128x64 pixels) and I2C connection
# Display text on the OLED screen
oled.text("Welcome, ", 0, 0)
oled.text("Sushant Gupta", 8, 15)
oled.text("31", 40, 30)
oled.text("with OLED", 22, 50)
oled.show()