×
Create a new article
Write your page title here:
We currently have 277 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki

    Servo: Difference between revisions

    Content deleted Content added
    No edit summary
    Tags: Mobile edit Mobile web edit
     
    (5 intermediate revisions by 3 users not shown)
    Line 8:
    }}
     
    '''Servo''' is similar to [[Motor]], but when activated by electricity, it cannot spin automatically. It can be interacted to add the angles of hinge with the configuration of "AngleStep", rotate the parts by hinge with its angle, by [[Polysilicon]].,
     
    FlipFlop mode Polysilicon can set its angles to 0.
     
    ==Description==
    Line 14 ⟶ 16:
     
    ==Misc.==
    ===Programming===
    Servo:SetAngle(number)
     
    ====Example====
    <syntaxhighlight lang="lua" line="1">
    local servo = GetPartFromPort(1,"Servo") --Main Variant.
    local switch = GetPartFromPort(2,"Switch") --A switch must be connected to a servo and a PowerCell. It must be between servo and PowerCell.
     
    switch:Configure({SwitchValue=false})
    servo:SetAngle(math.rad(math.random(1,360)))
    wait(2)
    switch:Configure({SwitchValue=true})
     
    </syntaxhighlight>
     
    ===Configuration===
    {{#invoke:GetPartInfo|getField|ConfigurationLarge}}
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • OKEMOWENDI • 10 hours ago
  • Jo857294 • 9 days ago
  • 116.111.185.163 • 22 days ago
  • 116.111.185.163 • 22 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.