Pioneer Robotics Documentation
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Pioneer Robotics Documentation
Pioneer Robotics Documentation
/
org.firstinspires.ftc.teamcode.prism
/
PrismAnimations
/
SineWave
/
setPeriod
set
Period
open
fun
setPeriod
(
duration
:
Int
,
timeUnit
:
TimeUnit
)
set the period of the sine wave in specified unit.
Parameters
duration
duration of loop.
time
Unit
unit to use.