Update Acquisition.rst

This commit is contained in:
tpollina 2019-12-01 21:02:04 -08:00 committed by GitHub
parent 0f3451f10b
commit d4fda724f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,12 @@ simply::
B) Define the used pinout B) Define the used pinout
========================= =========================
If you are using the `Raspbian`_ distro, it is best to install picamera using
the system's package manager: apt. This will ensure that picamera is easy to
keep up to date, and easy to remove should you wish to do so. It will also make
picamera available for all users on the system. To install picamera using apt
simply::
GREEN = LED(16) GREEN = LED(16)
RED = LED(12) RED = LED(12)
BLUE = LED(26) BLUE = LED(26)
@ -40,6 +46,12 @@ B) Define the used pinout
C) Configuration file C) Configuration file
===================== =====================
If you are using the `Raspbian`_ distro, it is best to install picamera using
the system's package manager: apt. This will ensure that picamera is easy to
keep up to date, and easy to remove should you wish to do so. It will also make
picamera available for all users on the system. To install picamera using apt
simply::
camera = PiCamera() camera = PiCamera()
camera.resolution = (2592, 1944) camera.resolution = (2592, 1944)
@ -58,6 +70,12 @@ C) Configuration file
D) Define simple sequence for I2C modules (Valves and pump) D) Define simple sequence for I2C modules (Valves and pump)
=========================================================== ===========================================================
If you are using the `Raspbian`_ distro, it is best to install picamera using
the system's package manager: apt. This will ensure that picamera is easy to
keep up to date, and easy to remove should you wish to do so. It will also make
picamera available for all users on the system. To install picamera using apt
simply::
def pump(state, verbose=True): def pump(state, verbose=True):
sleep(0.2) sleep(0.2)