In one case, I just set a constant variable for graph or plain data, then have a function for each (my above Serial statements are actually within a function called displayGraph()). You can go a bit further if you want to switch between either serial output, or serial plotter. In your case, it'd be simply: Serial.println(DHT0.humidity) You have to separate these number values from each other with commas, then do a println in your last value: Serial.print(percent) Please help me what is the problem because of which serial plotter is not loading. But I'm getting problem as plotter is not loading by the code I have. ![]() The plotter only understands numeric values. I want to use serial plotter feature of Arduino by using DHT11 as humidity sensor at a time. You can't send arbitrary information (percent signs, text etc) to the plotter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |