# from machine import I2C, Pin
# i2c = I2C(scl=Pin(22), sda=Pin(21))
# devices = i2c.scan()
# print(devices)
from machine import Pin, I2C
import ssd1306
from time import sleep
from i2c_lcd import I2C_LCD
# using default address 0x3C
i2c = I2C(scl=Pin(22), sda=Pin(21))
oled_width = 128
oled_height = 64
oled = ssd1306.SSD1306_I2C(oled_width, oled_height, i2c)
LCD = I2C_LCD(i2c,0x27)
oled.text('Hello, World!', 20, 0)
oled.text('Gadi', 20, 10)
oled.text('Herman', 20, 20)
oled.show()
LCD.print_all("ABCDEFGHIJKLMNOPQRSTUVWXYZ")
LCD.print("maryam", 1, 1)