User Tools

Site Tools


worklog-at-bc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
worklog-at-bc [2014/05/25 20:10]
zoza [arduino+python]
worklog-at-bc [2014/05/26 14:25]
zoza [problems]
Line 12: Line 12:
  
 upload an [[arduino-call-python|arduino sketch]] which calls a [[python-osc-arduino|python script]] using Process from the Bridge library upload an [[arduino-call-python|arduino sketch]] which calls a [[python-osc-arduino|python script]] using Process from the Bridge library
-! must open the Serial Monitor for the script to actually run !!!+ 
 +**! must open the Serial Monitor for the script to actually run !!!** 
 + 
 +===== python OSC ===== 
 + 
 +install it the regular way: 
 + 
 +<​code>​ 
 +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 
 +</​code>​ 
 +not the module i wanted :( 
 + 
 +install this module instead https://​trac.v2.nl/​wiki/​pyOSC 
 + 
 +<​code>​ 
 +### 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 
 +</​code>​ 
 + 
 +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