Rev 4728 | Rev 4729 | ||
---|---|---|---|
Line 238... | Line 238... | ||
238 | ) |
238 | ) |
239 | |
239 | |
240 | |
240 | |
241 | cfg.initialize() |
241 | cfg.initialize() |
242 | |
242 | |
243 | print "Stepper motor control test started. \r\n" |
- | |
244 | print "Max motor speed: %d " % SPEED |
- | |
245 | print "Distance to run: %d " % DISTANCE |
- | |
246 | |
- | |
247 | spi = cfg.get_device("spi") |
243 | spi = cfg.get_device("spi") |
248 | |
244 | |
249 | spi.route() |
245 | spi.route() |
250 | |
246 | |
251 | |
247 | |