eyes17/code/setWave.py
raw| 1 | #import eyes17.eyes # uncomment these two lines while running stand-alone |
| 2 | #p = eyes17.eyes.open() |
| 3 | |
| 4 | # Connect WG to A1 |
| 5 | |
| 6 | from pylab import * |
| 7 | |
| 8 | p.set_wave(100) |
| 9 | x,y = p.capture1('A1', 500,50) |
| 10 | plot(x,y) |
| 11 | |
| 12 | p.set_wave(100, 'tria') |
| 13 | x,y = p.capture1('A1', 500,50) |
| 14 | plot(x,y) |
| 15 | |
| 16 | show() |