This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
lisboa-worklog [2015/01/22 15:36] zoza |
lisboa-worklog [2015/01/22 15:52] (current) zoza [controls (python)] |
||
---|---|---|---|
Line 18: | Line 18: | ||
using ShiftPWW library modified by phil [[https://github.com/fleshgordo/diskohedronled/tree/master/software/libraries/ShiftPWM]] | using ShiftPWW library modified by phil [[https://github.com/fleshgordo/diskohedronled/tree/master/software/libraries/ShiftPWM]] | ||
+ | |||
the code? [[shiftpwm-led-controls]] | the code? [[shiftpwm-led-controls]] | ||
Line 38: | Line 39: | ||
opens two serial ports, creates two serial objects | opens two serial ports, creates two serial objects | ||
- | reads data from the server <code python>datas = urllib2.urlopen("http://kucjica.kucjica.org/androidtesting/arduino-get.php")</code> | + | reads data from the server |
+ | <code python>datas = urllib2.urlopen("http://kucjica.kucjica.org/androidtesting/arduino-get.php")</code> | ||
+ | |||
+ | full [[lisboa-get-values|python code]] | ||
+ | |||
+ | uses servoclass.py class | ||
+ | |||
+ | short code to [[lisboa-motors-test|test the motors]] | ||