037 - MicroPyrhon TechNotes: Servo Motor

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 13

  • @ftrstudio141
    @ftrstudio141 3 ปีที่แล้ว

    Bro pls tell me how to make a logo in oled in esp32 by micropython pls

    • @TechToTinker
      @TechToTinker  3 ปีที่แล้ว

      @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)

  • @younesammari6214
    @younesammari6214 3 ปีที่แล้ว

    Nice 👍

    • @TechToTinker
      @TechToTinker  3 ปีที่แล้ว

      @Younes Ammari, thank you :)

  • @alexdiaz4371
    @alexdiaz4371 3 ปีที่แล้ว

    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!!!

    • @TechToTinker
      @TechToTinker  3 ปีที่แล้ว

      Arduino Uno is not supported by MicroPython due to resource constraint. Look at micropython.org for supported devices. Cheers.

  • @Tolya421.
    @Tolya421. 3 ปีที่แล้ว

    Спасибо друг у тебя лучший канал? А в месте с сайтом вообще 👍

    • @TechToTinker
      @TechToTinker  3 ปีที่แล้ว

      @Анатолий Нестеров, thank you.

  • @vinaychandra6003
    @vinaychandra6003 3 ปีที่แล้ว

    Thank u sir... great job :)

    • @TechToTinker
      @TechToTinker  3 ปีที่แล้ว

      @Vinay Chandra , glad you liked it. Thanks bro.

    • @vinaychandra6003
      @vinaychandra6003 3 ปีที่แล้ว

      @@TechToTinker sir, can u pls make a video on mysql (not sqlire3) using micropython.

    • @TechToTinker
      @TechToTinker  3 ปีที่แล้ว +1

      @@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.

    • @vinaychandra6003
      @vinaychandra6003 3 ปีที่แล้ว

      @@TechToTinker Too complicated fr me to digest. Anyways thank u so much :)