forked from M-Labs/artiq
1
0
Fork 0

manual/getting_started: add examples location info, closes #501

This commit is contained in:
Sebastien Bourdeauducq 2016-07-07 12:43:10 +08:00
parent ea10a2af6e
commit d2d897a885
1 changed files with 6 additions and 1 deletions

View File

@ -31,11 +31,16 @@ Copy the file ``device_db.pyon`` (containing the device database) from the ``exa
self.led.output() self.led.output()
delay(0.1*us) delay(0.1*us)
.. note::
To obtain the examples, you can find where the ARTIQ package is installed on your machine with: ::
python3.5 -c "import artiq; print(artiq.__path__[0])"
Run your code using ``artiq_run``, which is part of the ARTIQ front-end tools: :: Run your code using ``artiq_run``, which is part of the ARTIQ front-end tools: ::
$ artiq_run led.py $ artiq_run led.py
The LED of the device should turn on. Congratulations! You have a basic ARTIQ system up and running. The process should terminate quietly and the LED of the device should turn on. Congratulations! You have a basic ARTIQ system up and running.
Host/core device interaction Host/core device interaction
---------------------------- ----------------------------