How to use TFT Display with Raspberry Pi Pico in C/C++

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 8

  • @drfrancintosh
    @drfrancintosh 5 месяцев назад +1

    shades of display list graphics and Jay Minor! by the way, does the SPI interface include reading from the device? I ask because it seems the device should have a frame buffer of its own and you might be able to read from that frame buffer instead of having to write individual lines one at a time.

    • @DrJonEA
      @DrJonEA  5 месяцев назад

      Thanks. I believe you can read back from the display but that still would not constitute a framebuffer. You would not be able to draft the display before making it visible in a single step.

    • @drfrancintosh
      @drfrancintosh 5 месяцев назад +1

      @@DrJonEA not to belabor the point… But if you wanted to draw a line on top of an existing image, you could read the values from what's in the display and add a pixel to that line or row and then write that back to the display… I don't know what kind of random access you have through the SPI interface but you could create a API that would act as a facade to the display frame buffer… and to your point, it would not be as efficient as doing a bitblt in memory

    • @drfrancintosh
      @drfrancintosh 5 месяцев назад +1

      I'm really enjoying your series… And finished your Udemy course… I owe you a cuppa coffee!

    • @DrJonEA
      @DrJonEA  5 месяцев назад

      I do get what you mean and indeed you can do a lot without a framebuffer in RAM.

    • @DrJonEA
      @DrJonEA  5 месяцев назад +1

      Thank you and I look forward to the coffee!

  • @ThreeStones379
    @ThreeStones379 5 месяцев назад +1

    interestingly

    • @DrJonEA
      @DrJonEA  5 месяцев назад

      Glad you found it so