mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-23 16:09:01 +00:00
@@ -0,0 +1,12 @@
|
||||
package tmc2209
|
||||
|
||||
func MoveAtVelocity(microstepsPerPeriod int32) {
|
||||
// Write velocity to the relevant register
|
||||
}
|
||||
func MoveUsingStepDirInterface() {
|
||||
// Set the interface to use step/direction interface
|
||||
}
|
||||
func GetVelocity() uint32 {
|
||||
// Read the actual velocity register
|
||||
return 0 // Placeholder return value
|
||||
}
|
||||
Reference in New Issue
Block a user