help for Lesson 08 - Design A Temperature and Humidity Chart

I don't have DHT20, but I have DHT22. I used it along with the tutorial and used GPIO 38 for input. Everything else looks normal, but the display flashes every 10-15 seconds or so.

Comments

  • The flicker frequency may be related to the timer frequency, so we may need to comment on parts of the timer function.

    Since the program declares two Pointers in the my_timer function, it allocates size and does not free memory until the my_timer function ends. Running for a long time causes memory overflow, the board restarts automatically, and the screen blinks. We also need to add the code to free up memory.

Sign In or Register to comment.