This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:light_getting_started [2021/09/13 14:53] vizycam |
wiki:light_getting_started [2021/09/16 09:17] vizycam [Mounting the light] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Getting started with Vizy's light ===== | + | ===== Getting started with Vizy's light accessory ===== |
Vizy has an optional light that can be used to offer subject lighting. It can be controlled from software running on Vizy. | Vizy has an optional light that can be used to offer subject lighting. It can be controlled from software running on Vizy. | ||
Line 9: | Line 9: | ||
- Attach power cable to terminal connector. FIXME | - Attach power cable to terminal connector. FIXME | ||
- Plug in power connector to light. FIXME | - Plug in power connector to light. FIXME | ||
- | - Switch on. (This will not turn on the light yet -- see below.) | + | - Switch on. (This will not yet turn on the light yet -- see below.) |
==== Turning on ==== | ==== Turning on ==== | ||
- | The light is software controlled and normally the pins on Vizy's I/O connector don't supply power until you tell it to do so. The easiest way to do this is through PYthon code, or by bringing up a Python interpreter. (Note, applications that use the light accessory will do this in a more automated way.) | + | The light is software-controlled and normally the pins on Vizy's I/O connector don't supply power until you tell them to do so. The easiest way to enable power (currently) is through Python code, or by bringing up a Python interpreter. |
- | To quickly test things out, bring up a Python interpreter by clicking on the ☰ icon in the upper right corner and selecting ''%%Python%%''. | + | To quickly test things out, turn on your Vizy and point your browser to it. (Please refer to the [[wiki:vizy_getting_started|getting started guide]] if you need help with connecting to your Vizy, etc.) Bring up a Python interpreter by clicking on the ☰ icon in the upper right corner and selecting ''%%Python%%''. |
{{wiki:image_249.jpg?250}} | {{wiki:image_249.jpg?250}} | ||
- | This will bring up a Python interpreter. Within the interpret type in the following: | + | This will bring up a Python interpreter. Within the interpreter type in the following: |
from vizy import VizyPowerBoard | from vizy import VizyPowerBoard | ||
Line 31: | Line 31: | ||
pb.vcc12(False) | pb.vcc12(False) | ||
+ | | ||
+ | Note, this is just for testing. Applications will do this in a more automated way! | ||
+ |