| Method | Description |
|---|---|
getSpeed() | Gets the current rotation speed |
| Event | Description |
|---|---|
speed | Triggers when speed changes |
getSpeed()
Gets the current rotation speed of the attached components.
Returns
numberThe 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
numberThe current rotation speed in RPM.