Update Laser Controller
parent
c2ff29c17e
commit
205fcb672b
|
@ -47,4 +47,13 @@ The command to connect with Minicom is:
|
|||
|
||||
The device name/number may change.
|
||||
|
||||
Once in minicom, press `CTRL+a`, `z` then `e` for echo mode.
|
||||
Once in minicom, press `CTRL+a`, `z` then `e` for echo mode.
|
||||
|
||||
# Controlling the Lasers in Julia
|
||||
|
||||
The lasers can be controlled directly via the serial port, or via wrapper functions in Julia.
|
||||
|
||||
1. Open a new Julia REPL by opening the terminal and typing `julia`.
|
||||
2. Type `]` to enter the `pkg>` prompt, then type `activate Photoacoustic`.
|
||||
3. Press backspace to exit `pkg`, then (when back at the `julia> prompt`), type `using Photoacoustic`.
|
||||
4. Now, you can use Julia to turn the lasers on and off with the commands `blueOff()`, `blueOn()`, `greenOff()`, ..., and so on. The functions take no arguments.
|
Loading…
Reference in New Issue