Skip to content
MethodDescription
getSpeed()Gets the current rotation speed
EventDescription
speedTriggers when speed changes

getSpeed()

Gets the current rotation speed of the attached components.

Returns

  • number The current rotation speed in RPM.

Events

The following are events that can be accessed with os.pullEvent(filter).

Event: stress_change

Triggers whenever the network's speed changes.

Returns

  • number The current rotation speed in RPM.