Update Acquisition.rst
This commit is contained in:
parent
0f3451f10b
commit
d4fda724f1
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue