Lesson 2

Introduction to MOOC
Lesson 2: Working with GPIO and I2C and the Raspberry Pi

In lesson 2 you will learn how to access General Purpose Input/Output (GPIO) and Inter-integrated circuits (I2C). You will learn to:

* Open a GPIO Pin for reading or writing
* Differentiate between a GPIO Pin and port
* Use a GPIO pin to read a change in a switch and turn an LED on and off
* Determine the value of a resistor needed for an LED
* Differentiate between pull-up and pull-down circuits
* Open and I2C device for reading and writing

Hardware for this lesson is described in the homework.


Working with GPIO and I2C Using the Raspberry Pi

Survey Region