#' @title zsteps
#' @description Calculate Z steps for leadscrew systems.
#' @name zsteps
#' @param s The number of steps per revolution of your motor.
#' @param m Your driver's microstep setting.
#' @param t The pitch of your lead screw.
#' @examples
#' zsteps(200, 16, .8)
#' @export
zsteps <- function(s, m, t)
{
(s * m) / t
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.