mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-07-26 10:38:41 +00:00
87c205fd65
TMC2209: Added TMC2209 support
13 lines
309 B
Go
13 lines
309 B
Go
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
|
|
}
|