Arduino Tinkercad

Greetings. In general need your help:
I need to make a connection diagram and code for the task "As the potentiometer rotates, the upper vertical segments (progress indicator) on the two 7seg (7 segment indicators) gradually light up. The number of segments glowing is proportional to the rotation of potentiometer P1."
The whole thing is in the Tinkercad online constructor

sounds just like the instructor wrote it. Are you asking people to do your homework for you?

Read the potentiometer. Use the map() function to map 0 to 1023 to the number of segments. Hope that helps.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.