Feb 23::
Before Class:
Read:
- what we know so far
- prepare for quiz on: variables, if statements, for loops, relational expressions, boolean operators, arithmetic operators, functions (the built in functions we've been using).
- **if you have time**, glance through Casey Reas' Software Stuctures, and begin thinking about a conceptual wall painting/ software structure of your own.
Do:
- look at modulo calculator and try a bunch of numbers to understand how modulo works
- finish your aquarium of undiscovered deep sea animals started in class. make at least 5 sea creatures. have at least one bounce off walls with a little gravity, have at least some of your creatures change color or size in certain areas of the "tank," use at least one for loop. maybe some creatures operate like blow fish increasing in size using a for loop that increments ellipses. zip up and label Hw4_lastname_firstname.zip. here is source code from class: scima_200_ball_studies.zip, scima_200_loop_studies.zip, scima_200_operators.zip
- prepare for the quiz!
In class:
Discuss:
- homework
- quiz
- resistance, voltage, current
- serial port,baud rate
- potentiometers & other types of resistors, schematics
Studio time:
- Arduino: blink, blink w/o delay, fade, analog input
- Arduino and Processing together. Download: graph.pde - sample code by Tom Igoe
- writing functions