Project 5 task 5

in task 5 of project 5 , we have to plot 2 graphs. But how will we get 2 sensor readings as we have only 1 analog pin and we haven’t been taught uart communication with arduino until now in the course.

Hi jindaldhruva,

You can use the readings obtained from a single sensor to plot two different ‘types’ of graphs rather than using two sensors. For the single set of readings obtained from the LDR, you can plot a line graph as well as a bar graph, for example, on the same page using the multi-graph feature by creating two different ‘graph objects’. The code as well as the visualized data output are attached.

Hope this helps!

@sarmandal7, thanks a lot! That really helps!!!