Get Started with ESP32: Lesson 08 - Design A Temperature and Humidity Chart GUI using LVGL

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

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

  • @CooperZuranski
    @CooperZuranski 3 หลายเดือนก่อน

    Voiceover is broken @6:11

  • @CooperZuranski
    @CooperZuranski 3 หลายเดือนก่อน

    Yeah the provided code doesn't function on 7 inch - Wire's default pins are not right. should be 19 and 20. Im using a TPA2016D2 for example.
    if i do Wire1.begin(19, 20, 100000); everything works. I should also note because the defaults are usually &Wire, i did:
    boolean result = audioamp.begin(TPA2016_I2CADDR, &Wire1);

    • @Elecrow
      @Elecrow  3 หลายเดือนก่อน

      Hi, for any technical inquiries or assistance, please feel free to reach out to us at techsupport@elecrow.com. We are here to help and will respond to your request promptly.

    • @eliothavila7337
      @eliothavila7337 2 หลายเดือนก่อน

      How do I solve the touch problem?

    • @CooperZuranski
      @CooperZuranski 2 หลายเดือนก่อน

      @@eliothavila7337 I used free RTOS. Made a process surrounding the screen refresh call, and another process that did stuff with the I2C. Created a mutex lock, such that only one of the two can operate at the same time. Still plenty high enough frequency to be responsive. You can go upwards of 20 milliseconds between screen refresh calls

    • @eliothavila7337
      @eliothavila7337 2 หลายเดือนก่อน

      @@CooperZuranski How did you do it ? would you have an example to show me ? thank you.

    • @CooperZuranski
      @CooperZuranski 2 หลายเดือนก่อน

      @@eliothavila7337 see the Digi key freertos series, that guy does all his stuff on an esp32. You should be able to get the background knowledge from there. Outside of that the solution is a mutex created for the I2C bus. Thread A must get it before doing a screen update, and thread B must get it before doing some arbitrary I2C operation.