Skip to main content

Subsection 11.5.1 Part 1: Questions About TTmotor_ramp.c

Everything we do today is built on top of TTmotor_ramp.c: the program you write for Lab 6 keeps much of that driver and adds a measurement to it. So we’ll start with whatever is still unclear in that file.

Activity 11.5.1. What is still unclear about TTmotor_ramp.c.

Work on your own first, then compare with your table group.

(a)

Find one line of TTmotor_ramp.c that you can now explain, and one line that you cannot.

(b)

With your table group, work through how the program runs: what happens in main(), and which register each line of the setup configures. Collect any lines that nobody at the table could explain.