Pre-class Assignment
Complete zyBook participation activities 10.1 and 10.2.
Announcements
- Lab 2 will be due Tuesday at 11:10am
- Post on Ed or schedule office hours for help
- One submission per group
Learning Objectives and Outcomes
In this lecture you will:
- brainstorm examples of time ordered and data processing behavior in our labs thus far
- practice implementing basic SMs in RIBS and in RIMS
By the end of this lecture you should be able to:
- discuss whether a behavior of an embedded system is time ordered or data processing
- create a state diagram for a simple state machine
- write and test basic state machine code in RIMS
Lecture Content
Time Ordered Vs. Data Processing Behavior
What are some examples of time ordered and data processing behavior we have implemented in class so far? Take a few minutes to discuss with a partner.
Time Ordered |
Data Processing |
peak detection (real time) |
peak detection w/ dummy data (not real time) |
keypad debounce (timers) |
computation for calculator |
Interrupts / ticker / ISR |
|
waiting for input (see SM below) |
|
getNumber on calculator |
|
Example SMs and Extending Them