-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Session 4: Variables | ||
|
||
## Recap (5 min) | ||
|
||
## Variables (15 min) | ||
|
||
- what are variables? (boxes to store information, different types for different things) | ||
- basic types: int, float, bool | ||
- what can we do with variable (put something in the box, see what's in the box) | ||
- assignment | ||
- storing function outputs in variables | ||
- comparison | ||
- using variables as function inputs | ||
|
||
## Practical task (60-70 min) | ||
|
||
- develop a lock with a PIN code | ||
- compare remote input (3-4 digits) with expected code | ||
- indicate correctness with and LED | ||
|
||
## Locoboard (if time allows) | ||
|
||
- show locoboard, explain what we can do with it |