Using the Fritzing software this diagram was created. This diagram shows how we will connect an LED to our Pi
Terminal Controlling the LED
The LED Turned on
The LED Turned off
$fswebcam image.jpg
$fswebcam -r 1280x720 image2.jpg
$fswebcam -r 1280x720 --no-banner image3.jpg