monorail
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
monorail [2013-11-11 22:42] – jane | monorail [2013-11-20 16:25] – jane | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Monorail ====== | ====== Monorail ====== | ||
===How to control the monorail=== | ===How to control the monorail=== | ||
- | You can control it from Python over Bluetooth as follows: | + | You can control it from Python over Bluetooth as follow (instruction for a linux distro): |
- | - Install [[http:// | + | - Install [[http:// |
- Turn it on by pressing the orange button. | - Turn it on by pressing the orange button. | ||
- Start python and run the following setup commands: | - Start python and run the following setup commands: | ||
Line 16: | Line 16: | ||
motor_c = Motor(brick, | motor_c = Motor(brick, | ||
</ | </ | ||
+ | |||
You can then control the motors by calling motor.turn(power, | You can then control the motors by calling motor.turn(power, | ||
e.g. motor_a.turn(127, | e.g. motor_a.turn(127, |
monorail.txt · Last modified: 2015-10-05 15:55 by 127.0.0.1