This commit is contained in:
shrkey
2016-09-24 22:25:07 +01:00
parent d974cf9515
commit a94fef9426

11
640.md
View File

@@ -61,7 +61,18 @@ Each stepper will be moved forwards and backwards through 200 steps when the tes
``` bash
$ python 640steppertest.py
```
### Import libraries
Now you know everything works, it's time to write your own scripts. So create a new python script in your editor, within the *darkwater_python_640* directory with a memorable name and add the following lines to import our libraries:
``` python
import time
from darkwater_640.darkwater_640 import dw_Controller, dw_Motor
```
### Drive a motor
### Motor speed
### Servo control