2.0. Introduction2.1. Choosing a Method to Connect Your Sensor2.2. Input and Run a JavaScript Application for Talking to Sensors2.3. Reading the Status of a Pushbutton or Magnetic Switch (Passive On/Off Sensor)2.4. Reading a Position, Light, or Force Sensor (Variable Resistance Sensor)2.5. Reading a Distance Sensor (Analog or Variable Voltage Sensor)2.6. Reading a Distance Sensor (Variable Pulse Width Sensor)2.7. Accurately Reading the Position of a Motor or Dial2.8. Acquiring Data by Using a Smart Sensor over a Serial Connection2.9. Measuring a Temperature2.10. Reading Temperature via a Dallas 1-Wire Device2.11. Sensing All Sorts of Things with SensorTag via Bluetooth v4.02.12. Playing and Recording Audio