Book Image

Raspberry Pi Blueprints

Book Image

Raspberry Pi Blueprints

Overview of this book

Table of Contents (17 chapters)
Raspberry Pi Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

The Pi setup


The initial steps to set up the Pi are to get a copy of Raspbian installed on an SD card of at least 4 GB (although 8 GB or larger is preferable), as described in Chapter 1, Raspberry Pi Pirate Radio, and if desired, connect the Pi to your Wi-Fi network. This project will keep the Pi outside the display enclosure so that Wi-Fi is only really needed if a wired connection is not available.

Rotating the display

You may wish to rotate the display to use the mirror in a portrait orientation, in which case the video output of the Pi will also need to be rotated. Fortunately, this is done by a simple change to a configuration file:

  1. Open the boot configuration file using:

    sudo nano /boot/config.txt
    
  2. Add the following line and replace N with one of the options described in the next screenshot:

    display_rotate=N

    The configuration file looks similar to the following screenshot:

  3. Save the file and reboot the Pi to see the changes:

    sudo reboot
    

    The possible options that can be given for N are:

    • 0: Normal...