User Tools

Site Tools


worklog-at-bc

Warning: Use of undefined constant PREG_PATTERN_VALID_LANGUAGE - assumed 'PREG_PATTERN_VALID_LANGUAGE' (this will throw an Error in a future version of PHP) in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: Use of undefined constant PREG_PATTERN_VALID_LANGUAGE - assumed 'PREG_PATTERN_VALID_LANGUAGE' (this will throw an Error in a future version of PHP) in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

Warning: preg_replace(): Delimiter must not be alphanumeric or backslash in /var/www/kucjica/emperors-wiki/inc/parser/xhtml.php on line 633

colour / brightness testing

(physical determinants)

arduino+python

(software determinants)

set up the SD card: http://arduino.cc/en/Tutorial/ExpandingYunDiskSpace (needs an Internet connection; set it up like this

arduino » python

upload an arduino sketch which calls a python script using Process from the Bridge library

! must open the Serial Monitor for the script to actually run !!!

python » arduino

bridgeclient.py

python OSC

install it the regular way:

opkg update #updates the available packages list
opkg install distribute #it contains the easy_install command line tool
opkg install python-openssl #adds ssl support to python
easy_install pip #installs pip
pip install python-osc #installs the osc module https://pypi.python.org/pypi/python-osc/1.4.1

not the module i wanted :(

install this module instead https://trac.v2.nl/wiki/pyOSC

### download the module from https://trac.v2.nl/raw-attachment/wiki/pyOSC/pyOSC-0.3.5b-5294.tar.gz
### untar, cd into the directory
### run
./setup.py install

works

problems

26.05.2014 15:50 everything stuck, yun can't connect to wifi any more and won't reset uploaded the Bridge>WifiStatus example finally the Arduino-bla network is up again;

worklog-at-bc.txt · Last modified: 2014/05/27 19:26 by zoza