@NEMESIS 300, basically you can upload an image lets say TH-cam.pgm to MicroPython root directory and use the following code. from machine import Pin, SoftI2C from ssd1306 import SSD1306_I2C import time import framebuf i2c = SoftI2C(scl=Pin(22), sda=Pin(21), freq=400000) display = SSD1306_I2C(128, 64, i2c, addr=0x3C) images = [] for n in range(1,7): with open('TH-cam.pbm', 'rb') as f: f.readline() # Magic number f.readline() # Creator comment f.readline() # Dimensions data = bytearray(f.read()) fbuf = framebuf.FrameBuffer(data, 128, 64, framebuf.MONO_HLSB) images.append(fbuf) display.invert(1) while True: for i in images: display.blit(i, 0, 0) display.show() time.sleep(0.1)
Thank you very much Sir, this is the first time that I run into (poo) within micropython. If you could let me know of other of your videos which include classes I'd appreciate it !!! by the way, I wanted to ask you, is it possible to use micropython (using thonny) with arduino uno? Thank you so much!!!
@@vinaychandra6003Let me see maybe in the future and it will take time. But a quick google search give this result: forum.micropython.org/viewtopic.php?t=4998 Look for the answer of Dave Hylands (dhylands), there he give 2 links you can follow. Hope this can help you. Cheers.
Bro pls tell me how to make a logo in oled in esp32 by micropython pls
@NEMESIS 300, basically you can upload an image lets say TH-cam.pgm to MicroPython root directory and use the following code.
from machine import Pin, SoftI2C
from ssd1306 import SSD1306_I2C
import time
import framebuf
i2c = SoftI2C(scl=Pin(22), sda=Pin(21), freq=400000)
display = SSD1306_I2C(128, 64, i2c, addr=0x3C)
images = []
for n in range(1,7):
with open('TH-cam.pbm', 'rb') as f:
f.readline() # Magic number
f.readline() # Creator comment
f.readline() # Dimensions
data = bytearray(f.read())
fbuf = framebuf.FrameBuffer(data, 128, 64, framebuf.MONO_HLSB)
images.append(fbuf)
display.invert(1)
while True:
for i in images:
display.blit(i, 0, 0)
display.show()
time.sleep(0.1)
Nice 👍
@Younes Ammari, thank you :)
Thank you very much Sir, this is the first time that I run into (poo) within micropython. If you could let me know of other of your videos which include classes I'd appreciate it !!! by the way, I wanted to ask you, is it possible to use micropython (using thonny) with arduino uno? Thank you so much!!!
Arduino Uno is not supported by MicroPython due to resource constraint. Look at micropython.org for supported devices. Cheers.
Спасибо друг у тебя лучший канал? А в месте с сайтом вообще 👍
@Анатолий Нестеров, thank you.
Thank u sir... great job :)
@Vinay Chandra , glad you liked it. Thanks bro.
@@TechToTinker sir, can u pls make a video on mysql (not sqlire3) using micropython.
@@vinaychandra6003Let me see maybe in the future and it will take time. But a quick google search give this result: forum.micropython.org/viewtopic.php?t=4998
Look for the answer of Dave Hylands (dhylands), there he give 2 links you can follow. Hope this can help you. Cheers.
@@TechToTinker Too complicated fr me to digest. Anyways thank u so much :)