22 lines
433 B
C
22 lines
433 B
C
#pragma once
|
|
|
|
/// @@TODO
|
|
/// Logic of motor handling
|
|
/// Ideally enable stepping of motors under ISR (all timers have higher priority than serial)
|
|
|
|
/// input:
|
|
/// motor, direction, speed (step rate), may be acceleration if necessary (not sure)
|
|
/// enable/disable motor current
|
|
/// stealth/normal
|
|
|
|
/// Motors:
|
|
/// idler
|
|
/// selector
|
|
/// pulley
|
|
|
|
/// Operations:
|
|
/// setDir();
|
|
/// rotate(speed)
|
|
/// rotate(speed, angle/steps)
|
|
/// home?
|