===== Intro to IM ===== **Place:** Inside the teaching lab that is hidden somewhere deep in the Arts Center\\ **Time:** Wednesday, September 14, 2016, 2:40pm – 5:20pm ---- === Forword === * Checking attendance * Ars Electronica overview, Linz, Austria * Please add your code examples using the "Code Blocks" tool. It lets you post code snippets using the the Visual Editor or Text Editor. => quick demo * EDS Movie Night (tonight, 8pm): //Metropolis// in the Engineering Design Studio (A5, 015) === Power on === Todays lecture will be about //Mapping, analog input// * [[https://github.com/NYUAD-IM/Intro-To-IM-F2015/tree/master/VariablesAnalogIn|Code from Class]] Variables using Arduino: * [[https://www.arduino.cc/en/Reference/BooleanVariables|boolean]] – A boolean holds one of two values, true or false. Each boolean variable occupies one byte of memory. * [[https://www.arduino.cc/en/Reference/Byte|byte]] – A byte stores an 8-bit unsigned number, from 0 to 255. * [[https://www.arduino.cc/en/Reference/Int|int]] – Integers are your primary data-type for number storage. * [[https://www.arduino.cc/en/Reference/Long|long]] – Long variables are extended size variables for number storage, and store 32 bits (4 bytes), from -2,147,483,648 to 2,147,483,647. * [[https://www.arduino.cc/en/Reference/Char|char]] – A data type that takes up 1 byte of memory that stores a character value. Character literals are written in single quotes, like this: 'A' (for multiple characters - strings - use double quotes: "ABC"). === Homework === == Readings == * [[http://www.tigoe.net/blog/category/physicalcomputing/405/|Making Interactive Art: Set the Stage, Then Shut Up and Listen]] * [[http://www.tigoe.net/blog/category/physicalcomputing/176/|Physical Computing’s Greatest hits and misses]] == Assignment == - From last week: Expanding on your initial switch, make a program with the Arduino that combines multiple digital inputs and outputs - Get information from an analog sensor and use it to control an LED in an unexpected way.