$24
Read Chapter 8 in the textbook
Answer Question 8.1 - Explain how you determined the register values.
Write the function requested in Question 8.2
Write the program requested in Question 8.4
NOTE: My interpretation of the 7 segment display changes which are requested in 8.4 is: a) pick some pattern of segments (for example 0 through F) and b) cycle through these patterns and as the analog voltage-in increases cycle faster and faster (or slower and slower) - your choice.
A more simple sequence might be to cycle through the 7 segments one at a time. In fact, almost any sequence you can think up is OK.