Pre-class Assignment
- [ ] Please fill out the onboarding survey if you haven’t already.
- [ ] Please purchase your zyBook through the campus store. Let me know if you have any issues with this.
- [ ] Please complete the reading and participation questions under the E15 review section in the zyBook.
- [ ] If you have never programmed in C/C++ before, or it has been a while since you took your intro programming course, I also highly recommend you use lab time tomorrow to begin reading from the optional text *Diving Into Systems* and complete some of the associated exercises for each section*:*
- [ ] 1.1 Getting Started Programming in C (note that we compile programs in Mbed, so you don’t need to know about
gcc)
- [ ] 1.2 Input/Output (printf and scanf) (note we take inputs over the serial monitor instead of scanf, but similar details apply)
- [ ] 1.3 Conditionals and Loops
- [ ] 1.4 Functions (skip 1.4.1 The Stack)
Announcements
- Please wrap up Lab 0 by Tuesday if you haven’t already; Lab 1 will be released then
- Onboarding Survey Results
- I forgot to collect email addresses, so I can’t individually respond, but I did read all of your responses and will keep in mind as I can when I make groups, etc.
- I’m usually free after class on Tuesdays for help, but on Thursdays I have a meeting at 4pm so have to leave right after; please plan accordingly. I can usually have a quick check in before class if needed.
- Office hours: by appointment (email me if none of those times work)
- The goal of this is to be more flexible / have more times, but I'm also open to a regularly scheduled time! Feel free to come as a group.

Learning Objectives and Outcomes
In this lecture you will:
- finish up the design exercise from Tuesday
- work alongside Prof. Delano to review the basics of program flow from E15/E21, with some adaptations for working with the new Nucleo board
By the end of this lecture you should be able to:
- write basic functions in C++
- use if statements, switch case statements, printf, basic data types, etc.
Lecture Content
Lab 1 Intro