toggle menu
BunyipsLib
v4.1.0-master-b97a0460
BunyipsLib
switch theme
search in API
BunyipsLib
/
org.murraybridgebunyips.bunyipslib
/
Encoder
/
setDirection
set
Direction
open
fun
setDirection
(
direction
:
DcMotorSimple.Direction
)
Sets the direction of the encoder to forward or reverse
Parameters
direction
the desired direction