wiki:computronics:colorful_lamp
Table of Contents
Colorful Lamp
The Colorful Lamp is a special light block that can change its color to one of 32,768 possibilities, either with a computer or by direct bundled cable control.
Recipe
Computer API
The least significant 5 bits are RED, the next 5 bits are GREEN, the final 5 bits are BLUE. * getLampColor() - returns the current color, from 0 to 32767 * setLampColor(color) - sets the color.
RedLogic/Project: Red/MFR API
Use a RedNet cable or a bundled cable to change the lamp color.
wiki/computronics/colorful_lamp.txt · Last modified: 2015/06/25 15:59 by 127.0.0.1