Skip to main content\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Subsection 12.3.6 Homework for Thursday
Here is the homework for Thursday once more: the same three items as yesterday, all on paper.
-
-
On paper, write
lsm303_AccelRegisterWrite(), if you have not already. Mimic the read function.
-
From the datasheet, work out what settings belong in
CTRL_REG1_A and
CTRL_REG4_A, and take notes on paper.
Tomorrow we’ll put your settings into the sensor and print acceleration data.
-
Do the pre-class reading for Thursday, in our book; it is a guided walk through the datasheet.
-
On paper, write lsm303_AccelRegisterWrite(), if you have not already. (Mimic the read function.)
-
From the datasheet, work out what settings belong in CTRL_REG1_A and CTRL_REG4_A, and take notes on paper.
Tomorrow we’ll put your settings into the sensor and print acceleration data.