redstone.setAnalogOutput
From ComputerCraft Wiki
Revision as of 00:10, 6 May 2013 by Smiley43210 (Talk | contribs) (Created function page with example)
Function redstone.setAnalogOutput | |
Sets the strength of redstone output to strength on side. strength must be an integer between 0 and 15, 0 being off, and 15 being the strongest. | |
Syntax | redstone.setAnalogOutput(string side, int strength) |
Returns | nil |
Part of | ComputerCraft |
API | redstone |
Examples
Additional Notes
- This function will throw an error if you give it an invalid side.
- List of possible sides: left, right, front, back, bottom, top