This is the host side part, that will run on Intel Edison.
- EcbDriver.py - the drivers for Top/Bottom Half and Command Controllers;
- EcbFSM.py - the finite state machine
- ecb.py - the main file
- start_ecb.sh - wrapper script to launch the software from systemd;
- ecb.service - systemd service file;
$ pip install virtualenv
$ virtualenv --system-site-packages ecb
$ source ecb/bin/activate
$ pip install python-chess
$ pip install futures
$ pip install python-socketio
$ pip install Flask
$ deactivate
$ mkdir ecb/ecb
$ scp -r EcbDriver.py EcbFSM.py ecb.py start_ecb.sh ecb.service static/ root@edison.local:ecb/ecb/
$ cp ecb/ecb/ecb.service /lib/systemd/system/
$ systemctl enable ecb
$ systemctl start ecb