Machinekit

Machinekit

Machinekit Documentation

HAL Component — UPDOWNV2

INSTANTIABLE COMPONENTS — General

All instantiable components can be loaded in two manners

Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)

NAME

updownv2 — Counts up or down, with optional limits and wraparound behavior

SYNOPSIS

updownv2

USAGE SYNOPSIS

loadrt updownv2
OR
newinst updownv2 <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]

( args in [ ] denote possible args and parameters, may not be used in all components )

FUNCTIONS

updownv2.N.funct ( OR <newinstname>.funct )

Process inputs and update count if necessary

PINS

LICENCE

GPL