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.2.8 Part 8: Homework for Thursday
Here are three things to do for Thursday, all on paper. There is nothing to submit. This will help you prepare for Lab 7.
-
-
On paper, write
lsm303_AccelRegisterWrite(). Mimic the read function. You do not have to test it.
-
From the datasheet, work out what settings belong in CTRL_REG1_A and CTRL_REG4_A, and take notes on paper.
Tomorrow we’ll look at how the sensor works inside; on Thursday we’ll get acceleration data out of it and use it in Lab 7.
Here are three things to do for Thursday, all on paper. There is nothing to submit. This will help you prepare for Lab 7.
-
Do the pre-class reading for Thursday. It is a guided walk through the datasheet.
-
On paper, write lsm303_AccelRegisterWrite(). Mimic the read function. You do not have to test it.
-
From the datasheet, work out what settings belong in CTRL_REG1_A and CTRL_REG4_A, and take notes.
Wednesday and Thursday we’ll get some acceleration data out of the sensor, and then use it in Lab 7.