help with settig Flypi up

Hi,

I want to use Flypi GUI to control my pi camera to make videos of Drosophila larvae while pupariating.
So, I won't use LEDs (now, but may be in the future to make optogenetics), peltier module, etc. Neither I have an arduino board. I considered that your GUI would make it easier to make movies.

I have disabled all of them in FlypiApp.py
It looks like this:
cameraFlag = 1
ringFlag = 0
led1Flag = 0
led2Flag = 0
matrixFlag = 0

peltierFlag = 0
autofocusFlag = 0

mockupFlag = 0
protocolFlag = 1
quitFlag = 1

when I want to run the GUI (sudo python3 run.py) I receive this message:

pi@raspberrypi:~/Desktop/Flypi-master/Python $ sudo python3 run.py
Traceback (most recent call last):
File "run.py", line 16, in
flypiApp(root)
File "/home/pi/Desktop/Flypi-master/Python/flypiApp.py", line 112, in init
self.ser = serial.Serial('/dev/ttyUSB0', 115200)

Being honest, I don't know what it means. Can this be the consequence of using your software without connecting an arduio board?
Thanks for your help!

Comments

Sign In or Register to comment.