wiki:computronics:colorful_lamp
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | wiki:computronics:colorful_lamp [2015/06/25 15:59] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Colorful Lamp ====== | ||
| + | The Colorful Lamp is a special light block that can change its color to one of 32,768 possibilities, | ||
| + | ===== 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/ | ||
| + | |||
| + | Use a RedNet cable or a bundled cable to change the lamp color. | ||