SunFounder ESP32 Starter Kit
3. Read temperature and humidity
Create 2 variables tem and humi to store the temperature and humidity respectively, the code will appear on the right
side while you drag and drop the block.
4. Print them on the Serial Monitor
Write the read temperature and humidity to the Serial Monitor. To avoid transferring too fast and causing PictoBlox to
jam, use the [wait seconds] block, to add some time interval for the next print.
524 Chapter 4. Play with Scratch